blob: f15c63ebb44412e326d365fb9a82650c0fbff4c0 [file] [log] [blame]
CONSOLE ERROR: line 1: Refused to create a worker from '' 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 '' is denied by the document's Content Security Policy..
PASS successfullyParsed is true