This tests the effect of a valid script-hash value, with one valid script and several invalid ones. It passes if one alert is executed and a CSP violation is reported.

Summary

Harness status: OK

Found 1 tests

Details

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