You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One bummer is that, as far as I can tell, this is currently unsupported in Safari. Safari requires you to add unsafe-eval, which is a no-go and essentially eliminates all safeties of a good CSP.
Can we add this info to the docs for the next person?
The text was updated successfully, but these errors were encountered:
ezekg
changed the title
Add a note on a Content Security Policy that is WASM-compatible
Add note on a Content Security Policy that is WASM-compatible
Feb 3, 2022
I was hitting some hard to debug WASM load issues in Chrome because I was using a restrictive CSP:
This resulted in the following rather confusing WASM load error:
Apparently, in Chrome, you have to add
wasm-unsafe-eval
orwasm-eval
to load WASM:One bummer is that, as far as I can tell, this is currently unsupported in Safari. Safari requires you to add
unsafe-eval
, which is a no-go and essentially eliminates all safeties of a good CSP.Can we add this info to the docs for the next person?
The text was updated successfully, but these errors were encountered: