Tests that blocking form actions works correctly. If this test passes, a CSP violation will be generated, and will not see a JavaScript alert.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassExpecting logs: ["violated-directive=form-action","TEST COMPLETE"]
Asserts run
Pass
assert_equals("TEST COMPLETE", "TEST COMPLETE")
    at Test.<anonymous> ( /content-security-policy/support/logTest.sub.js?logs=[%22violated-directive=form-action%22,%22TEST%20COMPLETE%22]:29:21)
Pass
assert_equals("violated-directive=form-action", "violated-directive=form-action")
    at Test.<anonymous> ( /content-security-policy/support/logTest.sub.js?logs=[%22violated-directive=form-action%22,%22TEST%20COMPLETE%22]:29:21)