In particular, CSP wants to do something to eval() and new Function().
http://w3c.github.io/webappsec-csp/ is a specification implemented in web browsers that provides a feature that makes eval() and new Function() no-ops. Currently it uses very hand-wavy prose for that. I believe it is better for the definition of those features to acknowledge that feature, to ensure that the expected result is well-defined.
In particular, CSP wants to do something to
eval()andnew Function().http://w3c.github.io/webappsec-csp/ is a specification implemented in web browsers that provides a feature that makes
eval()andnew Function()no-ops. Currently it uses very hand-wavy prose for that. I believe it is better for the definition of those features to acknowledge that feature, to ensure that the expected result is well-defined.