I add respone header ("Cross-Origin-Opener-Policy", "same-origin") to use SharedArrayBuffer (to support webassembly). But now I have trouble with adding third party JS in my page, which will be blocked by cross-origin isolated. Any work around method to use third party JS with webassembly ?
Asked
Active
Viewed 273 times
1 Answers
0
Did you set only CORP or COEP as well?
If you set COEP to require-corp, your script will have to explicitly grant permission using I think the script you are trying to load will have to set CORP to cross-origin
You could also try to set Access-Control-Allow-Origin I am not sure if it will override the behavior of the.
CORP protects your resources from being loaded from another origin cross-origin isolation headers, so it should not prevent you from loading scripts (I think).

Bob
- 13,867
- 1
- 5
- 27