OLD | NEW |
1 Tests that asynchronous XMLHttpRequests handle redirects according to the CORS s
tandard. | 1 Tests that asynchronous XMLHttpRequests handle redirects according to the CORS s
tandard. |
2 | 2 |
3 Testing resources/redirect-cors.php?url=http://127.0.0.1:8000/xmlhttprequest/res
ources/access-control-basic-allow-star.cgi | 3 Testing resources/redirect-cors.php?url=http://localhost:8000/xmlhttprequest/res
ources/access-control-basic-allow-star.cgi |
4 Expecting success: false | 4 Expecting success: false |
5 PASS: 0 | 5 PASS: 0 |
6 Testing resources/redirect-cors.php?url=http://127.0.0.1:8000/xmlhttprequest/res
ources/access-control-basic-allow-star.cgi& access-control-allow-origin=http://
localhost:8000& access-control-allow-credentials=true | 6 Testing resources/redirect-cors.php?url=http://localhost:8000/xmlhttprequest/res
ources/access-control-basic-allow-star.cgi& access-control-allow-origin=http://
localhost:8000& access-control-allow-credentials=true |
7 Expecting success: false | 7 Expecting success: false |
8 PASS: 0 | 8 PASS: 0 |
9 Testing resources/redirect-cors.php?url=http://127.0.0.1:8000/xmlhttprequest/res
ources/access-control-basic-allow.cgi& access-control-allow-origin=http://local
host:8000& access-control-allow-credentials=true | 9 Testing resources/redirect-cors.php?url=http://localhost:8000/xmlhttprequest/res
ources/access-control-basic-allow.cgi& access-control-allow-origin=http://local
host:8000& access-control-allow-credentials=true |
10 Expecting success: false | 10 Expecting success: false |
11 PASS: 0 | 11 PASS: 0 |
12 Testing http://127.0.0.1:8000/xmlhttprequest/resources/redirect-cors.php?url=htt
p://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-allow-star.cgi | 12 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?url=htt
p://localhost:8000/xmlhttprequest/resources/access-control-basic-allow-star.cgi |
13 Expecting success: false | 13 Expecting success: false |
14 PASS: 0 | 14 PASS: 0 |
15 Testing http://127.0.0.1:8000/xmlhttprequest/resources/redirect-cors.php?url=htt
p://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-allow-star.cgi&
access-control-allow-origin=http://localhost:8000 | 15 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?url=htt
p://localhost:8000/xmlhttprequest/resources/access-control-basic-allow-star.cgi&
access-control-allow-origin=http://localhost:8000 |
16 Expecting success: true | 16 Expecting success: true |
17 FAIL: 0 | 17 FAIL: 0 |
18 Testing http://127.0.0.1:8000/xmlhttprequest/resources/redirect-cors.php?url=htt
p://username:password@127.0.0.1:8000/xmlhttprequest/resources/access-control-bas
ic-allow-star.cgi& access-control-allow-origin=http://localhost:8000 | 18 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?url=htt
p://username:password@localhost:8000/xmlhttprequest/resources/access-control-bas
ic-allow-star.cgi& access-control-allow-origin=http://localhost:8000 |
19 Expecting success: false | 19 Expecting success: false |
20 PASS: 0 | 20 PASS: 0 |
21 Testing http://127.0.0.1:8000/xmlhttprequest/resources/redirect-cors.php?url=foo
://bar.cgi& access-control-allow-origin=http://localhost:8000 | 21 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?url=foo
://bar.cgi& access-control-allow-origin=http://localhost:8000 |
22 Expecting success: false | 22 Expecting success: false |
23 PASS: 0 | 23 PASS: 0 |
24 Testing http://127.0.0.1:8000/xmlhttprequest/resources/redirect-cors.php?redirec
t-preflight=true& url=http://127.0.0.1:8000/xmlhttprequest/resources/access-con
trol-basic-allow-star.cgi& access-control-allow-origin=* | 24 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?redirec
t-preflight=true& url=http://localhost:8000/xmlhttprequest/resources/access-con
trol-basic-allow-star.cgi& access-control-allow-origin=* |
25 Expecting success: false | 25 Expecting success: false |
26 PASS: 0 | 26 PASS: 0 |
27 Testing http://127.0.0.1:8000/xmlhttprequest/resources/redirect-cors.php?redirec
t-preflight=false& url=http://127.0.0.1:8000/xmlhttprequest/resources/access-co
ntrol-basic-allow-star.cgi& access-control-allow-origin=*& access-control-allo
w-headers=x-webkit | 27 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?redirec
t-preflight=false& url=http://localhost:8000/xmlhttprequest/resources/access-co
ntrol-basic-allow-star.cgi& access-control-allow-origin=*& access-control-allo
w-headers=x-webkit |
28 Expecting success: false | 28 Expecting success: false |
29 PASS: 0 | 29 PASS: 0 |
| 30 Testing resources/redirect-cors.php?url=http://127.0.0.1:8000/xmlhttprequest/res
ources/get.txt |
| 31 Expecting success: true |
| 32 PASS: PASS |
30 | 33 |
OLD | NEW |