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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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: NetworkError: A network error occurred.
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: true 9 Expecting success: true
10 PASS: PASS: Cross-domain access allowed. 10 PASS: PASS: Cross-domain access allowed.
11 11
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 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 13 Expecting success: false
14 PASS: Error: NetworkError: DOM Exception 19 14 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) 15 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 16 Expecting success: false
17 PASS: 0 17 PASS: 0
18 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)
19 Expecting success: false 19 Expecting success: false
20 PASS: Error: NetworkError: DOM Exception 19 20 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) 21 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x mlhttprequest/resources/access-control-basic-allow.cgi(async)
22 Expecting success: false 22 Expecting success: false
23 PASS: 0 23 PASS: 0
24 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698