This tests that the Content Security Policy of the page allows loading a Web Worker's script redirected on the same origin. | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS worker = new Worker("http://127.0.0.1:8000/resources/redirect.php?url=http://127.0.0.1:8000/security/resources/worker-message-pass.js") did not throw exception. | |
PASS PASS: Worker loaded and sent message | |
PASS successfullyParsed is true | |
TEST COMPLETE | |