blob: 87f0d937f5aa147df0d6a65f5238f8530415f299 [file] [log] [blame]
Test that loading the shared worker's script does not allow a cross origin redirect (bug 26146)
SUCCESS: threw exception (SecurityError: Failed to construct 'SharedWorker': Script at 'http://localhost:8000/workers/resources/worker-target.js' cannot be accessed from origin 'http://127.0.0.1:8000'.) when attempting to cross origin while loading the worker script.
SUCCESS: threw error when attempting to redirected cross origin while loading the worker script.
DONE