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

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

Issue 14557011: Fix problems with cross-origin redirects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed typo in numbering in a test. Created 7 years, 7 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 Tests that redirects between origins are never allowed, even when access control is involved. 1 Tests that redirects between origins are never allowed, even when access control is involved.
2 2
3 Per the spec, these test cases should be allowed, but cross-origin redirects are currently unsupported in WebCore. 3 Per the spec, these test cases should be allowed, but cross-origin redirects are currently unsupported in WebCore.
4 4
5 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc es/access-control-basic-allow.cgi (sync) 5 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc es/access-control-basic-allow.cgi (sync)
6 Expecting success: false 6 Expecting success: false
7 PASS: Error: NetworkError: DOM Exception 19 7 PASS: Error: NetworkError: DOM Exception 19
8 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc es/access-control-basic-allow.cgi(async) 8 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc es/access-control-basic-allow.cgi(async)
9 Expecting success: false 9 Expecting success: true
10 PASS: 0 10 PASS: PASS: Cross-domain access allowed.
11
11 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x mlhttprequest/resources/access-control-basic-allow.cgi (sync) 12 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x mlhttprequest/resources/access-control-basic-allow.cgi (sync)
12 Expecting success: false 13 Expecting success: false
13 PASS: Error: NetworkError: DOM Exception 19 14 PASS: Error: NetworkError: DOM Exception 19
14 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async) 15 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async)
15 Expecting success: false 16 Expecting success: false
16 PASS: 0 17 PASS: 0
17 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi (sync) 18 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi (sync)
18 Expecting success: false 19 Expecting success: false
19 PASS: Error: NetworkError: DOM Exception 19 20 PASS: Error: NetworkError: DOM Exception 19
20 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async) 21 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async)
21 Expecting success: false 22 Expecting success: false
22 PASS: 0 23 PASS: 0
23 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698