First, big thanks to the folks who have maintained this project.

I recently opened a "Feature Request" ticket for "WebAssembly Support in
JavaFX WebKit", and stated that I would be happy to help get this support
enabled. WebAssembly has been enabled in WebKit since 2017:
https://webkit.org/blog/7691/webassembly/

The basic gist is: when I run load the following HTML, I get "undefined"
rather than "object":

<-- index.html -->
<!DOCTYPE html>
<html>
  <body>
    Hello from Webkit!
    <div id="console"></div>
    <script type="text/javascript">
      var app = document.getElementById("console");
      app.innerHTML = typeof WebAssembly; // Should return "object"
  </body>
</html>

I can see that all of the relevant .h/.cpp files from the WebKit project
are indeed included:
https://github.com/openjdk/jfx/tree/master/modules/javafx.web/src/main/native/Source/JavaScriptCore/wasm

I am not sure why this would fail. Might it be that WebAssembly simply
needs to be enabled in the JavaFX build script?

Thank you in advance!

Sincerely,
Richard "RJ" Sheperd
Software Engineer
Spatial Informatics Group, Inc.
rshep...@sig-gis.com

Reply via email to