How to enable HTML5 local storage in javafx WebView

Is there a way to enable HTML5 local storage on a javafx 2.2 WebView? Whatever I do it seems that local storage is disabled/not available for the WebView supplied by javafx. I even tested it using http://html5test.com which did indeed show that local storage isn't enabled. could there be a js script that would enable it? Are there alternatives, given that I don't control the web pages that are being loaded into the WebView. Thanks

Asked By: ABT
||

Answer #1:

HTML5 local storage functionality is not implemented for JavaFX 2.2 WebView so there is no way to enable that feature with that JavaFX version.

HTML5 local storage is currently being implemented in WebView for Java 8, you can get a preview version to test out functionality as it is implemented.

The feature tracking issues related to this are:

The JavaFX issue tracker requires a login to access, but anybody can sign up from the login page.

Answered By: jewelsea
The answers/resolutions are collected from stackoverflow, are licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0 .



# More Articles