Skip to content

Browser

Volker Berlin edited this page Mar 15, 2020 · 6 revisions

Testing in the Browser

Today (2019) the browser does not support the needed WebAssembly features. You can test the supported features.

The compiler output of JWebEngine used currently:

  • bigint
  • mutableGlobals (most important)
  • referenceTypes (most important)
  • saturatedFloatToInt
  • signExtensions

Testing with Chrome

Command line

If you want test it with Chrome then you can enable it with some command line switches. You need to terminate all chrome instances before you start it with this flags.

"...\chrome.exe" --js-flags="--experimental-wasm-anyref --experimental-wasm-bigint --experimental-wasm-eh"

Flags

You can also enable the needed features in your default Chrome with the flags. Open the URL chrome://flags/ in a new tab. Search for WebAssembly and then enable Experimental WebAssembly.

Testing with Firefox

For Firefox you need to install the nightly edition. This edition installed in its own directory and you can use it parallel with the standard edition.

Clone this wiki locally