Web_worker SharedArrayBuffer not working on FireFox

I have some issues getting SharedArrayBuffer to work properly on newer firefox versions.

I did the changes required from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/Planned_changes but had no success in using post_message in a web worker.

I did verify that both headers are set and that the window is in a secure context. The SharedArrayBuffer does work, but when using post_message from the web worker, I get a panic.

My project uses the web_worker crate, which is itself based on the wasm_bindgen/examples/raytrace_parallel.
This example is also broken.

Anyone knows who is the current maintainer of the wasm_bindgen examples?

The repo in question is GitHub - spicylobstergames/shotcaller-minigene: A moddable RTS/MOBA game made with bracket-lib and minigene.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.