add --coop option to enable cross-origin isolated#806
Merged
KernelDeimos merged 2 commits intohttp-party:masterfrom Nov 29, 2025
Merged
add --coop option to enable cross-origin isolated#806KernelDeimos merged 2 commits intohttp-party:masterfrom
KernelDeimos merged 2 commits intohttp-party:masterfrom
Conversation
Contributor
Author
|
Fixes #650 |
|
For what it's worth, I would really like this option as well. Not being able to enable cross-origin isolation, and therefore wasm threads, was a dealbreaker for me, and made me replace htttp-server with a bespoke solution. I'd really like if something like this was merged. |
|
Please merge! This would be so helpful. |
|
It's the same as #759. Please merge! I want to use |
alxndrsn
pushed a commit
to alxndrsn/pouchdb
that referenced
this pull request
Apr 2, 2024
See: https://developer.mozilla.org/en-US/docs/Web/API/Performance/now#security_requirements This requires a change of dependencies from http-server to serve as http-server does not currently support setting the required headers. See: * http-party/http-server#759 * http-party/http-server#806
Scarabol
added a commit
to Scarabol/ffmpeg.wasm
that referenced
this pull request
Feb 23, 2025
Wait for http-party/http-server#806 to be merged or http-server with --header argument support, since 14.1.1 was released almost 3 years ago.
Scarabol
added a commit
to Scarabol/ffmpeg.wasm
that referenced
this pull request
Feb 23, 2025
Wait for http-party/http-server#806 to be merged or http-server with --header argument support, since 14.1.1 was released almost 3 years ago.
Scarabol
added a commit
to Scarabol/ffmpeg.wasm
that referenced
this pull request
Feb 24, 2025
Workaround for http-party/http-server#806 to be merged or http-server with --header argument support release, since 14.1.1 was released almost 3 years ago and header support added after
Scarabol
added a commit
to Scarabol/ffmpeg.wasm
that referenced
this pull request
Feb 24, 2025
Workaround for http-party/http-server#806 to be merged or http-server with --header argument support release, since 14.1.1 was released almost 3 years ago and header support added after
In order to utilize some web features like SharedArrayBuffer via localhost, COOP & COEP headers have to be set. Add an --coop option to let people easily opt-in to them. These are important for things like WebAssembly testing. More information can be found at: https://web.dev/cross-origin-isolation-guide/
|
Is there any blocker to getting this merged? @KernelDeimos |
ProgrammerIn-wonderland
approved these changes
Nov 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In order to utilize some web features like SharedArrayBuffer via
localhost, COOP & COEP headers have to be set. Add an --coop
option to let people easily opt-in to them. These are important
for things like WebAssembly testing.
More information can be found at:
https://web.dev/cross-origin-isolation-guide/
Contributor checklist
--helpoutputmasterbranchMaintainer checklist