This tests the effect of a valid script-nonce value. It passes if no CSP violation is generated and the alerts are executed.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassExpecting alerts: ["PASS (1/2)","PASS (2/2)"]
Asserts run
Pass
assert_equals("PASS (1/2)", "PASS (1/2)")
    at Test.<anonymous> ( /content-security-policy/script-src/scriptnonce-allowed.sub.html:34:25)
Pass
assert_equals("PASS (2/2)", "PASS (2/2)")
    at Test.<anonymous> ( /content-security-policy/script-src/scriptnonce-allowed.sub.html:34:25)