Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy on all pages that run stockfish #5784

Closed
niklasf opened this issue Dec 19, 2019 · 0 comments

Comments

@niklasf
Copy link
Member

niklasf commented Dec 19, 2019

Instead of doing it in nginx:

# Configure site isolation to allow shared memory for multi-threaded Stockfish
add_header Cross-Origin-Opener-Policy "same-origin" always;
add_header Cross-Origin-Embedder-Policy "require-corp" always;

This will be required to get multi-threaded WASM in Firefox.

niklasf added a commit that referenced this issue Dec 19, 2019
set coop/coep headers for multi-threaded stockfish (closes #5784)
ornicar added a commit that referenced this issue Dec 19, 2019
* master:
  fix db env
  {master} db tweaks
  set coop/coep headers for multi-threaded stockfish (closes #5784)
  ceval: test structured cloning only once
  remove pnacl support (fixes #5755, fixes #5729)
  lichess.hoverable impl workaround
  using cloudflare also for dns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant