mirror of
https://github.com/golang/go
synced 2024-11-12 08:40:21 -07:00
859a944ee2
When using the compiled .wasm with misc/wasm/wasm_exec.js, we get an error message if the site prohibits eval() via the Content-Security-Policy header. This can be resolved by moving the callback helper code from src/syscall/js/callback.go to misc/wasm/wasm_exec.js.
Fixes #26748
Change-Id: I28f271b8a00631f4c66a1ac31305e85f20f9d420
GitHub-Last-Rev:
|
||
---|---|---|
.. | ||
go_js_wasm_exec | ||
wasm_exec.html | ||
wasm_exec.js |