Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Cross Origin Policies for Webassembly

A topic by Sheepolution created Jul 13, 2021 Views: 487
Viewing posts 1 to 1
(+5)

It's been 250 days since this post. I was wondering if there are any plans to get this feature in? 

Currently Firefox requires two additional headers to be served when loading webassembly code:

Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects...

These headers are soon going to be required as of Chrome 92, which is going to be released on July 20th:

https://developers.google.com/search/blog/2021/03/sharedarraybuffer-notes

https://web.dev/coop-coep/

https://www.chromestatus.com/features/schedule

So, if I understand correctly, if these headers are not added in the coming week all games that require this won't work. My knowledge on the subject is limited, so I'm not sure what kind of games will be affected, but I know that it will stop games using LÖVE's web port Love.js from working. These games already don't work on Firefox.

Please add these headers so that these browser games can stay alive. 🙏