JS engine in WebView

Richard Bair richard.bair at oracle.com
Thu May 9 20:49:46 PDT 2013

> Just out of interest and while we are on the topic, with the port to iOS
> (and also to Android), what is going to happen to such components as
> WebView?  I ask because I know that on iOS (at least) you are prohibited
> from executing JavaScript using anything but the JS engine built into
> Safari.

Actually that is not quite accurate. The limitation is that any JS engine you use *cannot JIT* (and will therefore be horrendously slow).

>  I imagine that Apple wouldn't be too happy about a browser embedded
> inside a JavaFX node running JavaScript using the interpreter built into
> WebKit.

They would just laugh us off the stage because our browser would be so pathetically slow. We'd end up doing more damage to ourselves than them :-).

No, we actually are using the native browser. There are a lot of problems with this that haven't been resolved yet (principally, mixing the browser into the scene graph).


More information about the openjfx-dev mailing list