webaverse / app

Web metaverse client
https://app.webaverse.com
MIT License
343 stars 207 forks source link

Fix "WebWorker modules" issue on Firefox. #3741

Closed digisomni closed 1 year ago

digisomni commented 1 year ago

This might be the best method to fix this: https://gist.github.com/developit/220246bc99044af74a6680ce13284f59 using a polyfill.

Compatibility chart: https://caniuse.com/mdn-api_worker_worker_ecmascript_modules

lalalune commented 1 year ago

firefox is a dead. doesn't support webxr and never will. defaults to private mode which breaks all storage and caching. firefox people almost always come and say "it doesn't work in my browser" because of the private mode thing.

it is absolutely insane to me that a browser company would ship features that break browser standard apis, in the name of security, forcing us to create insecure workarounds. but that's how it is.

instead, we should have a warning that indicates to users that they should delete firefox and instead install brave.