Skip to content

Conversation

maraf
Copy link
Member

@maraf maraf commented Nov 24, 2021

Use xharness arg --web-server-use-cop to set cross origin policy headers

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

In Chrome 92 SharedArrayBuffer was disabled due to a vulnerability. To enable it site must be cross-origin isolated (by COEP and COOP headers). More info at https://developer.chrome.com/blog/enabling-shared-array-buffer/.

Fixes #61945

@maraf maraf added this to the 7.0.0 milestone Nov 24, 2021
@ghost
Copy link

ghost commented Nov 24, 2021

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Use xharness arg --web-server-use-cop to set cross origin policy headers

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

Fixes #61945

Author: maraf
Assignees: -
Labels:

arch-wasm, area-System.Runtime.InteropServices.JavaScript

Milestone: 7.0.0

@pavelsavara pavelsavara requested a review from premun November 24, 2021 15:09
@radical
Copy link
Member

radical commented Nov 24, 2021

@maraf could you add a reasoning for the change? @kg had pointed to https://developer.chrome.com/blog/enabling-shared-array-buffer/ , and that would be useful to add to the PR description too.

@maraf
Copy link
Member Author

maraf commented Nov 25, 2021

There is a misalignment between Xharness and Arcade versions.
This will be solved by #61668.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[wasm] JS Interop tests failing with latest chrome - JavaScript host object 'SharedArrayBuffer' not found
4 participants