This test loads a worker, from a guid. The worker should be blocked from loading with a child-src policy of 'self' as the blob: scheme must be specified explicitly. A report should be sent to the report-uri specified with this resource.

Summary

Harness status: OK

Found 1 tests

Details

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