Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify distintion between unsafe-eval and wasm-eval #2

Closed
pauljt opened this issue Nov 17, 2017 · 3 comments
Closed

Clarify distintion between unsafe-eval and wasm-eval #2

pauljt opened this issue Nov 17, 2017 · 3 comments

Comments

@pauljt
Copy link

pauljt commented Nov 17, 2017

In the proposal, is intent that 'unsafe-eval' ALSO enables all WebAssembly functions, as well as the proposed wasm-eval keyword (but not vice versa)? Or is wasm-eval supposed to act independently.

@eholk
Copy link
Contributor

eholk commented Nov 21, 2017

Currently 'unsafe-eval' allows WebAssembly and all of the other things that fall under 'unsafe-eval', and we are not planning to change this behavior. The goal for 'wasm-eval' is to allow WebAssembly without allowing JS eval().

Basically, 'unsafe-eval' implies 'wasm-eval', but 'wasm-eval' does not imply 'unsafe-eval'.

@eholk
Copy link
Contributor

eholk commented Feb 16, 2018

See w3c/webappsec-csp#293 for a PR to specify 'wasm-eval' in the CSP spec.

@titzer
Copy link
Contributor

titzer commented Aug 24, 2018

I believe this should be clear from the current text now.

@titzer titzer closed this as completed Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants