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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-worker-onerror-no-cors-expected.txt

Issue 2332263002: Updated suborigin serialization to latest spec proposal (Closed)
Patch Set: Actually disable test Created 4 years, 2 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
OLDNEW
1 Ensure that scripts imported into a Worker from cross-origin hosts trigger sanit ized onerror messages. 1 Ensure that scripts imported into a Worker from cross-origin hosts trigger sanit ized onerror messages.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS worker = new Worker("/workers/resources/worker-importscripts-onerror-sameor igin.js") threw exception SecurityError: Failed to construct 'Worker': Script at 'http://127.0.0.1:8000/workers/resources/worker-importscripts-onerror-sameorigi n.js' cannot be accessed from origin 'http://foobar_127.0.0.1:8000'.. 6 PASS worker = new Worker("/workers/resources/worker-importscripts-onerror-sameor igin.js") threw exception SecurityError: Failed to construct 'Worker': Script at 'http://127.0.0.1:8000/workers/resources/worker-importscripts-onerror-sameorigi n.js' cannot be accessed from origin 'http-so://foobar.127.0.0.1:8000'..
7 PASS successfullyParsed is true 7 PASS successfullyParsed is true
8 8
9 TEST COMPLETE 9 TEST COMPLETE
10 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698