Add Cross-Origin-* headers to gitlab-static.net
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
A customer is requesting we add Cross-Origin-* headers to gitlab-static.net
. They are getting the following error in the web IDE when using a custom extension on open-vsx which has a dependency on the WASI based WebAssembly Execution Engine
extension:
Error: WASM Server: Startup failed: ReferenceError: SharedArrayBuffer is not defined
When they append the following headers using a browser extension, the issue gets resolved:
Cross-Origin-Embedder-Policy: "require-corp"
Cross-Origin-Resource-Policy: "cross-origin"
Cross-Origin-Opener-Policy: "same-origin"
If we add these headers to gitlab-static.net
they won't require the need for a browser extension to add the headers
Edited by 🤖 GitLab Bot 🤖