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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/access-control-and-redirects-expected.txt

Issue 23582002: CORS: Update the redirection status in Inspector Network tab for CORS requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 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.
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.
1 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.
2 4
3 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.
4 6
5 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)
6 Expecting success: false 8 Expecting success: false
7 PASS: NetworkError: A network error occurred. 9 PASS: NetworkError: A network error occurred.
8 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)
9 Expecting success: true 11 Expecting success: true
10 PASS: PASS: Cross-domain access allowed. 12 PASS: PASS: Cross-domain access allowed.
11 13
12 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)
13 Expecting success: false 15 Expecting success: false
14 PASS: NetworkError: A network error occurred. 16 PASS: NetworkError: A network error occurred.
15 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)
16 Expecting success: false 18 Expecting success: false
17 PASS: 0 19 PASS: 0
18 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)
19 Expecting success: false 21 Expecting success: false
20 PASS: NetworkError: A network error occurred. 22 PASS: NetworkError: A network error occurred.
21 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)
22 Expecting success: false 24 Expecting success: false
23 PASS: 0 25 PASS: 0
24 26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698