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

[wasm-mt] Improved experience when SharedArrayBuffer is not available #76961

Closed
Tracked by #68162
lambdageek opened this issue Oct 12, 2022 · 4 comments
Closed
Tracked by #68162
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono
Milestone

Comments

@lambdageek
Copy link
Member

lambdageek commented Oct 12, 2022

Runtime JS should check that SharedArrayBuffer is available and if it isn't diagnose whether CORS headers are being served, and provide a nice error message.

For Blazor and Uno we should provide some kind of callback that can be triggered if the runtime's requirements are not met

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 12, 2022
@lambdageek lambdageek changed the title Improved experience when SharedArrayBuffer is not available [wasm-mt] Improved experience when SharedArrayBuffer is not available Oct 12, 2022
@lambdageek lambdageek added arch-wasm WebAssembly architecture area-VM-threading-mono and removed untriaged New issue has not been triaged by the area owner labels Oct 12, 2022
@ghost
Copy link

ghost commented Oct 12, 2022

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

Issue Details

Runtime JS should check that SharedArrayBuffer is available and if it isn't diagnose whether CORS headers are being served, and provide a nice error message.

For Blazor and Uno we should provide some kind of callback that can be triggered if the runtime's requirements are not met

Author: lambdageek
Assignees: -
Labels:

arch-wasm, untriaged, area-Threading-mono

Milestone: -

@maraf
Copy link
Member

maraf commented Jul 26, 2023

@pavelsavara Is this resolved with the mentioned PR? Or should we do more?

@pavelsavara
Copy link
Member

We don't read cors headers, but I'm not sure we really want to.
If we should, which files we should check ? And how to check it on ES6 import keyword ?

I'm closing this as done.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono
Projects
None yet
Development

No branches or pull requests

3 participants