sql.js icon indicating copy to clipboard operation
sql.js copied to clipboard

WebAssembly.Memory causes issues with content security policy

Open nullrocket opened this issue 6 years ago • 1 comments

Safari throws an error when loading with a content security policy that doesn't include 'unsafe-eval' in script-src. It seems to be the odd man out. I don't know what can be done to work around it.

https://github.com/WebAssembly/content-security-policy/blob/master/proposals/CSP.md

web-assembly-csp

nullrocket avatar May 10 '19 20:05 nullrocket

Is this still true in 2024? Do I need unsafe-eval and/or wasm-usafe-eval in my CSP use sql.js?

githorse avatar Feb 19 '24 15:02 githorse