You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recent removal of USE_ES6_IMPORT_META broke a use case like this:
I want to host an emscripten-compiled package somewhere (e.g., a CDN) that is compiled to use pthreads
I want to instantiate a module from those scripts on another origin domain
Browsers refuse to download cross-origin workers, so I can't create threads.
This used to be supported using either an importScripts() hack in the worker or by downloading the whole script as a blob, but now that's not possible since the fix in #23171 forces the use of a specific file name.