blob: 17584f0d81e4e47668dc042e50cc841abbb1a5b8 [file] [log] [blame]
CONSOLE MESSAGE: Unsafe attempt to load URL http://localhost:8000/security/resources/worker-message-pass.js from origin http://127.0.0.1:8000. Domains, protocols and ports must match.
CONSOLE MESSAGE: Cannot load http://localhost:8000/security/resources/worker-message-pass.js due to access control checks.
This tests that Web Worker script redirects are blocked if cross 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.py?url=http://localhost:8000/security/resources/worker-message-pass.js") did not throw exception.
PASS Blocked cross origin Worker script load
PASS successfullyParsed is true
TEST COMPLETE