OLD | NEW |
1 CONSOLE ERROR: line 1: Refused to create a child context containing 'http://127.
0.0.1:8000/security/contentSecurityPolicy/resources/alert-fail.js' because it vi
olates the following Content Security Policy directive: "child-src 'none'". | 1 CONSOLE ERROR: line 1: Refused to create a worker from 'http://127.0.0.1:8000/se
curity/contentSecurityPolicy/resources/alert-fail.js' because it violates the fo
llowing Content Security Policy directive: "child-src 'none'". |
2 | 2 |
3 SharedWorkers should be governed by 'child-src'. | 3 SharedWorkers should be governed by 'child-src'. |
4 | 4 |
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
6 | 6 |
7 | 7 |
8 PASS var w = new SharedWorker('/security/contentSecurityPolicy/resources/alert-f
ail.js'); threw exception SecurityError: Failed to construct 'SharedWorker': Acc
ess to the script at 'http://127.0.0.1:8000/security/contentSecurityPolicy/resou
rces/alert-fail.js' is denied by the document's Content Security Policy.. | 8 PASS var w = new SharedWorker('/security/contentSecurityPolicy/resources/alert-f
ail.js'); threw exception SecurityError: Failed to construct 'SharedWorker': Acc
ess to the script at 'http://127.0.0.1:8000/security/contentSecurityPolicy/resou
rces/alert-fail.js' is denied by the document's Content Security Policy.. |
9 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
10 | 10 |
11 TEST COMPLETE | 11 TEST COMPLETE |
12 | 12 |
OLD | NEW |