Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
Passeval of a string should be checked by CSP
Asserts run
Pass
assert_throws_js(function "function EvalError() { [native code] }", function "function() {         eval("0");       }", "eval of a string should reach host callout")
    at Test.<anonymous> ( /content-security-policy/generic/eval-typecheck-callout-order.html:13:7)
Passeval of a non-string should not be checked by CSP
Asserts run
Pass
assert_equals(["0"], ["0"], "eval is identity when applied to non-strings")
    at Test.<anonymous> ( /content-security-policy/generic/eval-typecheck-callout-order.html:20:7)