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

Side by Side Diff: LayoutTests/http/tests/security/isolatedWorld/cross-origin-xhr-expected.txt

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isola tedWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo re not allowed access. 1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/security/isolate dWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header i s present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
2 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isola tedWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo re not allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/security/isolate dWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header i s present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
3 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/isola tedWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo re not allowed access. 3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/security/isolate dWorld/resources/cross-origin-xhr.txt. No 'Access-Control-Allow-Origin' header i s present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
4 Tests that isolated worlds can have XHRs run in a different origin. 4 Tests that isolated worlds can have XHRs run in a different origin.
5 5
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
7 7
8 8
9 XHR from main world 9 XHR from main world
10 XHR completed with status 0 10 XHR completed with status 0
11 XHR from isolated world with unchanged security origin 11 XHR from isolated world with unchanged security origin
12 XHR completed with status 0 12 XHR completed with status 0
13 XHR from isolated world with same security origin as XHR target 13 XHR from isolated world with same security origin as XHR target
14 XHR completed with status 200 14 XHR completed with status 200
15 XHR from isolated world with security origin that is whitelisted for XHR target 15 XHR from isolated world with security origin that is whitelisted for XHR target
16 XHR completed with status 200 16 XHR completed with status 200
17 XHR from main world is not affected by the isolated world origin or whitelist 17 XHR from main world is not affected by the isolated world origin or whitelist
18 XHR completed with status 0 18 XHR completed with status 0
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698