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
Copy file name to clipboardExpand all lines: proposals/esm-integration/README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,14 @@ Some impacts of reading the imports up-front:
141
141
142
142
See the FAQ for more explanation of the rationale for this design decision, and what features it enables which would be difficult or impossible otherwise.
143
143
144
+
### Content Security Policy
145
+
146
+
CSP policies are verified at the time of Wasm compilation through the `HostEnsureCanCompileWasmBytes` abstract
147
+
operation.
148
+
149
+
Wasm modules loaded through the ES Module system should follow the existing `script-src` policy on the page when
150
+
compiled through the module system hooks. Further refinements to the Wasm CSP policy may then be added in future.
151
+
144
152
## FAQ
145
153
146
154
### How would this work, in some concrete examples?
0 commit comments