WebEngine uses WebKit's JavaScriptCore as its JavaScript engine. The sources are in the jfx repo, along with the JavaFX-specific classes that implement the two-way Java <--> JavaScript bridge. Other than the public API docs for WebEngine, which you referred to in your message, there isn't any documentation of the interface. What sort of information are you looking for?

-- Kevin


On 5/8/2020 7:01 AM, Rony G. Flatscher wrote:
Wondering which JavaScript engine gets referred to in WebEngine [1].

In case it is currently (JavaFX 14) Nashorn [2], what happens after Nashorn 
gets removed from the
next [3] version? In case it is WebKit's JavaScriptCore [4] where can one study 
the interface from
WebEngine to it?

---rony

[1] WebEngine: 
<https://openjfx.io/javadoc/14/javafx.web/javafx/scene/web/class-use/WebEngine.html>
[2] Nashorn: <https://openjdk.java.net/projects/nashorn/>
[3] Nashorn removal from JDK 15: <https://openjdk.java.net/jeps/372>
[4] JavaScriptCore: <https://trac.webkit.org/wiki/JavaScriptCore>



Reply via email to