Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: LayoutTests/http/tests/workers/worker-redirect-expected.txt

Issue 23283009: Convert SecurityError exceptions to 'es.throwSecurityError()'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Test that loading the worker's script does not allow a cross origin redirect (bu g 26146) 1 Test that loading the worker's script does not allow a cross origin redirect (bu g 26146)
2 2
3 SUCCESS: threw exception (SecurityError: Failed to create a worker: script with origin 'http://localhost:8000' cannot be accessed from origin 'http://127.0.0.1: 8000'.) when attempting to cross origin while loading the worker script. 3 SUCCESS: threw exception (SecurityError: Failed to create a worker: script at 'h ttp://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.
4 SUCCESS: threw error when attempting to redirected cross origin while loading th e worker script. 4 SUCCESS: threw error when attempting to redirected cross origin while loading th e worker script.
5 DONE 5 DONE
6 6
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698