Hmm no it doesn't run on Firefox for me. I still get the error "Uncaught ReferenceError: SharedArrayBuffer is not defined". Does it work for you?
Edit: I should probably check if the game works on a website if it has those headers. I will test that out.
Edit 2: I hosted it on my website with the following in my .htaccess and it works
Header set Cross-Origin-Opener-Policy: same-origin
Header set Cross-Origin-Embedder-Policy: require-corp