-
Feature Request
-
Resolution: Done
-
Major
-
None
JavaFX WebView supports Debugger API and could be embedded into BrowserSim as an alternative to the SWT Browser.
Pros:
- WebView supports Debugger API - we can enable full featured DevTools and/or integrate it with EclipseDebugger
- It is available on all OSes where Oracle JVM 7 is installed - no requirement to install Safari and 32-bit JVM on Windows
- Can be used together with the SWT Browser (i.e. if there is no JavaFX present, we can fallback to the SWT Browser in runtime)
Cons:
- Not a part of OpenJDK, Oracle JVM 7 only (not sure if JavaFX could be installed standalone)
- window.localStorage is not supported (may be a problem for CordovaSim)
- Character encoding problems on some installations
- Debugger API bindings to Java are not final now - we can face Java run-time errors with later versions of Oracle JVMs
On the high level our plan is to:
- Implement possibility of switching BrowserSim's web engine SWT.WEBKIT / JavaFx WebView. This possibility will be enabled only for windows and mac os users. Due to native errors coupled with gtk3 usage (related jira https://javafx-jira.kenai.com/browse/RT-35264 ) there will be only one web engine on Linux - SWT.WEBKIT. - Done
- Disable switcher for Linux platform - Done
- Solve perfomance issues. Debugger freezes rather often - Done
- Mock javaFX dependencies - Done
- Fix LiveReload and Touch Events for JavaFx WebView - Done
- Remove submodule - Done
- Port for debugging should not be hardcoded - Done
- is related to
-
JBDS-2866 CordovaSim Debugger
- Closed
-
JBIDE-13364 Consider changing the way in which BrowserSim uses WebKit engine
- Closed
- links to