blob: df93a5863f815d1942df724ca5b555427e6fe160 [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'".
SharedWorkers should be governed by 'child-src'.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS var w = new SharedWorker('/security/contentSecurityPolicy/resources/alert-fail.js'); threw exception SecurityError: Failed to construct 'SharedWorker': 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