Replies: 2 comments
-
Hi! I am encountering the same issue, not only on Chromium. See more here on this other GitHub issue. Did you find any solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think the error message is quite correct, not all browsers actually support |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the Bug
When using SharedWorker, the worker importScripts fails to load due to DOM exception in Chromium Version 119.0.6045.159 (Official Build, ungoogled-chromium) Arch Linux (64-bit).
Steps to Reproduce
I took the web workers code from https://rustwasm.github.io/wasm-bindgen/examples/wasm-in-web-worker.html and exchanged in SharedWorker and added the SharedWorker and MessagePort feature.
Then in Chromium the address http://localhost:8000, and in a separate tab go to chrome://inspect/#workers and inspect the shared worker.
Expected Behavior
Exchanging out the Worker to SharedWorker should work in Chromium. Works in Chrome,Firefox though.
Actual Behavior
DOMException when trying to load the web workers script.
Additional Context
I'm realizing this now as it only seems to happen in chromium. Thought it was initially as Chrome related. Did a test in Chrome and it works as expected though.
Beta Was this translation helpful? Give feedback.
All reactions