Closed GetAGripGal closed 5 months ago
My aplogies! This was an issue on my end!
For those wondering, the issue was that i was missing the following headers in my server:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
Any attempt to spawn a thread causes a RuntimeError. Below is my current code. This crashes both on firefox and chromium.
I have also attempted a basic thread, this crashes aswell:
I am using wasm-bindgen with the
es-module
feature enabled