ungoogled-software / ungoogled-chromium

Google Chromium, sans integration with Google
BSD 3-Clause "New" or "Revised" License
20.8k stars 844 forks source link

WebAssembly WASM not present, sites that need it don't work, can't find browser option for it #3086

Closed NearestWater262 closed 2 weeks ago

NearestWater262 commented 2 weeks ago

OS/Platform

Debian, Ubuntu, and derivatives

Installed

Flatpak

Version

Version 130.0.6723.91 (Official Build, ungoogled-chromium) (64-bit)

Have you tested that this is not an upstream issue or an issue with your configuration?

Description

I need WebAssembly for a site to work but I cannot find any settings to turn on WASM anywhere

How to Reproduce?

  1. go to pass.proton.me
  2. It complains that it needs WASM but I cannot find any settings for WASM

Actual behaviour

image

Then I click the site settings button at the address bar, and click "Site Settings" but I only see these settings. Am I missing something? I don't see anything about WASM

image image

I also went to the chrome flags and turn all of these on and relaunched but still didnt work

image

Expected behaviour

I expect to see an option for WASM somewhere

Relevant log output

No response

Additional context

I also checked this issue but I guess the browser does not look like these screenshots anymore https://github.com/ungoogled-software/ungoogled-chromium/issues/2466

networkException commented 2 weeks ago

Do you have JavaScript JIT disabled for the site?

NearestWater262 commented 2 weeks ago

@networkException there is no option in site settings for JIT or WASM at all, you can see the screenshot of all the site settings that I'm given :)

NearestWater262 commented 2 weeks ago

The only thing remotely close I could find was this "V8 optimizer" but I don't know if this the same as turning on WASM/JIT itself. Regardless, it's turned on for all site yet still I'm getting the error on the site image

networkException commented 2 weeks ago

ah right it was called that; yes if you disable that WASM wouldn't work. Not sure why it doesn't for you now

networkException commented 2 weeks ago

Is this reproducible in incognito (without login)?

NearestWater262 commented 2 weeks ago

@networkException I opened Incognito window and went to the proton pass site and immediate got the same WASM error

NearestWater262 commented 2 weeks ago

I also went to this issue: https://github.com/ungoogled-software/ungoogled-chromium/issues/2466

And tried the same site that this person uses, https://regex101.com/ and got this error as well

image

networkException commented 2 weeks ago

@rany2 is this obvious to you?

NearestWater262 commented 2 weeks ago

well, I am a very stupid person :( I totally forgot that I had added thechromium flag --js-flags="--jitless" to my execution command sorry to take up your time!

networkException commented 2 weeks ago

No problem, glad it could be solved