Pass | Test that securitypolicyviolation event is fired | Asserts runPass | assert_equals("script-src", "script-src")
at Test.<anonymous> ( /content-security-policy/script-src/script-src-1_4.html:17:13) |
|
Pass | eval() should throw without 'unsafe-eval' keyword source in script-src directive. | Asserts runPass | assert_throws_js(function "function EvalError() { [native code] }", function "function() { eval('evalRan = true;') }")
at Test.<anonymous> ( /content-security-policy/script-src/script-src-1_4.html:22:26) |
|
Pass | eval() should not run without 'unsafe-eval' script-src directive. | Asserts runPass | assert_false(false)
at Test.<anonymous> ( /content-security-policy/script-src/script-src-1_4.html:24:26) |
|