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

Add example for wasm_threads usage #841

Merged
merged 7 commits into from
Aug 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix readme rendering
9SMTM6 committed Aug 7, 2024
commit 2a28a230ffdea1cb69aceaf49bbee304d063abd5
1 change: 1 addition & 0 deletions examples/wasm_threads/README.md
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ The `_headers` file and its copy in `index.html` is simply an example of how to
If you get errors such as

> [Firefox] The WebAssembly.Memory object cannot be serialized. The Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy HTTP headers can be used to enable this.

> [Chrome] SharedArrayBuffer transfer requires self.crossOriginIsolated.

Then the headers did not set correctly. You can check the response headers on the `/` file in the network tab of the browser developer tools.