cd6e3ad2fdf9193c701ed94d93b52c80f8da6fe0
[WebKit-https.git] / LayoutTests / http / tests / xmlhttprequest / access-control-and-redirects-expected.txt
1 Tests that redirects between origins are never allowed, even when access control is involved.
2
3 Per the spec, these test cases should be allowed, but cross-origin redirects are currently unsupported in WebCore.
4
5 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow.cgi (sync)
6 Expecting success: false
7 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101
8 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow.cgi(async)
9 Expecting success: false
10 PASS: 0
11 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-allow.cgi (sync)
12 Expecting success: false
13 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101
14 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-allow.cgi(async)
15 Expecting success: false
16 PASS: 0
17 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow.cgi (sync)
18 Expecting success: false
19 PASS: Error: NETWORK_ERR: XMLHttpRequest Exception 101
20 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow.cgi(async)
21 Expecting success: false
22 PASS: 0
23