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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/access-control-and-redirects-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/resources/redi rect.php?url=http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic -allow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redire ct.php?url=http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-a llow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested re source. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
2 CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/resources/redi rect.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic -allow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redire ct.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-a llow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested re source. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
3 Tests that redirects between origins are never allowed, even when access control is involved. 3 Tests that redirects between origins are never allowed, even when access control is involved.
4 4
5 Per the spec, these test cases should be allowed, but cross-origin redirects are currently unsupported in WebCore. 5 Per the spec, these test cases should be allowed, but cross-origin redirects are currently unsupported in WebCore.
6 6
7 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc es/access-control-basic-allow.cgi (sync) 7 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc es/access-control-basic-allow.cgi (sync)
8 Expecting success: false 8 Expecting success: false
9 PASS: NetworkError: A network error occurred. 9 PASS: NetworkError: A network error occurred.
10 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc es/access-control-basic-allow.cgi(async) 10 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc es/access-control-basic-allow.cgi(async)
11 Expecting success: true 11 Expecting success: true
12 PASS: PASS: Cross-domain access allowed. 12 PASS: PASS: Cross-domain access allowed.
13 13
14 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x mlhttprequest/resources/access-control-basic-allow.cgi (sync) 14 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x mlhttprequest/resources/access-control-basic-allow.cgi (sync)
15 Expecting success: false 15 Expecting success: false
16 PASS: NetworkError: A network error occurred. 16 PASS: NetworkError: A network error occurred.
17 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async) 17 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async)
18 Expecting success: false 18 Expecting success: false
19 PASS: 0 19 PASS: 0
20 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi (sync) 20 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi (sync)
21 Expecting success: false 21 Expecting success: false
22 PASS: NetworkError: A network error occurred. 22 PASS: NetworkError: A network error occurred.
23 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async) 23 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async)
24 Expecting success: false 24 Expecting success: false
25 PASS: 0 25 PASS: 0
26 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698