blob: 673bab13eca5d72b47a55949360f2bb76ea4fea0 [file] [log] [blame]
This tests the effect of a valid script-nonce value. It passes if a CSP violation is generated, and the two PASS alerts are executed.
FAIL Expecting alerts: ["PASS (closely-quoted nonce)","PASS (nonce w/whitespace)", "violated-directive=script-src-elem", "violated-directive=script-src-elem", "violated-directive=script-src-elem"] assert_unreached: Alert timeout, expected alerts violated-directive=script-src-elem,violated-directive=script-src-elem,violated-directive=script-src-elem not fired. Reached unreachable code