Posted on Leave a comment

Heads Up: Restriction on SharedArrayBuffers are probably coming in M91

Starting in Internet explorer 91 (May, 2021), cross-origin isolation will be required inside all platforms in order to begin to browse APIs like SharedArrayBuffer or performance. measureUserAgentSpecificMemory() . This brings regarding desktop platforms in line with Droid, which shipped this restriction in Chrome 88.

That allows you to continue using these APIs, keep your pages are cross-origin singled out by serving the web post with the following headers:

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

Be aware, once you do this, an page will not be able to level cross-origin content unless usually the resource explicitly allows the item via a Cross-Origin-Resource-Policy header as CORS headers (Access-Control-Allow-* while forth).

For more detailed ownership instructions and considerations, look at the word wide web. dev guide to enable cross-origin isolation .

Leave a Reply

Your email address will not be published.