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://localhost:8000/xmlhttprequest/res
ources/access-control-basic-allow-star.cgi | 3 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?url=htt
p://localhost:8000/xmlhttprequest/resources/access-control-basic-allow-star.cgi
without credentials |
4 Expecting success: false | 4 Expecting success: false |
5 PASS: 0 | 5 PASS: 0 |
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 | 6 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 without credentials |
| 7 Expecting success: true |
| 8 FAIL: 0 |
| 9 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 without cr
edentials |
7 Expecting success: false | 10 Expecting success: false |
8 PASS: 0 | 11 PASS: 0 |
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 | 12 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?url=foo
://bar.cgi& access-control-allow-origin=http://localhost:8000 without credentia
ls |
10 Expecting success: false | 13 Expecting success: false |
11 PASS: 0 | 14 PASS: 0 |
12 Testing http://localhost:8000/xmlhttprequest/resources/redirect-cors.php?url=htt
p://localhost:8000/xmlhttprequest/resources/access-control-basic-allow-star.cgi | 15 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=* without credentials |
13 Expecting success: false | 16 Expecting success: false |
14 PASS: 0 | 17 PASS: 0 |
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 | 18 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 without credentials |
16 Expecting success: true | |
17 FAIL: 0 | |
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://localhost:8000/xmlhttprequest/resources/redirect-cors.php?url=foo
://bar.cgi& access-control-allow-origin=http://localhost:8000 | 21 Testing resources/redirect-cors.php?url=http://127.0.0.1:8000/xmlhttprequest/res
ources/get.txt without credentials |
22 Expecting success: false | |
23 PASS: 0 | |
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 | |
26 PASS: 0 | |
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 | |
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 | 22 Expecting success: true |
32 PASS: PASS | 23 PASS: PASS |
33 | 24 |
OLD | NEW |