Project: SWT
Bug 257614 [Browser] add API to evaluate JS expression
Reported: 2008-12-04 15:32:48 | Status: resolved fixed

- it's similar to execute(), but returns the expression's return value (if any) instead of a success boolean, and propogates JS errors to the Java side in the form of SWTException

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/BrowserFunction.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WebBrowser.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java