GrapheneOS / Vanadium

Privacy and security enhanced releases of Chromium for GrapheneOS. Vanadium provides the WebView and standard user-facing browser on GrapheneOS. It depends on hardening in other GrapheneOS repositories and doesn't include patches not relevant to the build targets used on GrapheneOS.
https://vanadium.app/
Other
909 stars 67 forks source link

WebAssembly is not defined #603

Closed Mrestof closed 3 months ago

Mrestof commented 3 months ago

I am trying to run the game made in LÖVE game engine and packaged for web with love.js, it uses WebAssembly to run in browser. I tried to run the game in Chrome and it launches well, but not in Vanadium. I am far from technical details, but I used Eruda to get the following logs.

first log msg in console:

no native wasm support detected

at t.value (http://192.168.1.199:8000/node_modules/eruda/eruda.js:2:17465)
at new t (http://192.168.1.199:8000/node_modules/eruda/eruda.js:2:12630)
at t.value (http://192.168.1.199:8000/node_modules/eruda/eruda.js:2:32766)
at http://192.168.1.199:8000/node_modules/eruda/eruda.js:2:34400

second log msg in console:

WebAssembly is not defined

at abort (http://192.168.1.199:8000/love.js:9:15270)
at http://192.168.1.199:8000/love.js:9:6840
at applicationLoad (http://192.168.1.199:8000/:104:9)
at HTMLScriptElement.onload (http://192.168.1.199:8000/:108:87)
quh4gko8 commented 3 months ago

Have you tried enabling Javascript JIT on the said website?

thestinger commented 3 months ago

WebAssembly currently requires the JIT compiler.

Mrestof commented 3 months ago

Oh, right. Went straight to github issues, didn't look on forums. Now it works, thanks!