Skip to content

Commit 5156f41

Browse files
author
Guy Bedford
committed
update note that Wasm is likely not a stricter policy
1 parent 05ace87 commit 5156f41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

proposals/esm-integration/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ See the FAQ for more explanation of the rationale for this design decision, and
143143

144144
### Content Security Policy
145145

146-
CSP policies are verified at the time of Wasm compilation through the `HostEnsureCanCompileWasmBytes` abstract
147-
operation defined by the [Web Content Security Policy proposal](https://github.com/WebAssembly/content-security-policy).
148-
149146
Wasm modules imported through the ES Module system should be verified for compilation by CSP against the `script-src`
150147
directive, both for static and dynamic imports. This allows Wasm and JS to be equally supported in the ESM
151-
integration under CSP policies. Further refinements to the Wasm CSP policy may be added in future.
148+
integration under CSP policies.
149+
150+
While Wasm is currently fully sandboxed, having equal access to imports to JS provides it equal capabilities to
151+
execution primitives, so that it should not be considered a weaker capability from an ESM integration perspective.
152152

153153
## FAQ
154154

0 commit comments

Comments
 (0)