blob: f15c63ebb44412e326d365fb9a82650c0fbff4c0 [file] [log] [blame]
CONSOLE ERROR: line 1: Refused to create a worker from 'http://127.0.0.1:8000/security/contentSecurityPolicy/resources/alert-fail.js' because it violates the following Content Security Policy directive: "child-src 'none'".
Workers should be governed by 'child-src'.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS var w = new Worker('/security/contentSecurityPolicy/resources/alert-fail.js'); threw exception SecurityError: Failed to construct 'Worker': Access to the script at 'http://127.0.0.1:8000/security/contentSecurityPolicy/resources/alert-fail.js' is denied by the document's Content Security Policy..
PASS successfullyParsed is true
TEST COMPLETE