| OLD | NEW |
| 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 |
| OLD | NEW |