| OLD | NEW |
| 1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck http://xhr.spec.whatwg.org/. | 1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck http://xhr.spec.whatwg.org/. |
| 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redire
ct.php?url=http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-a
llow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested re
source. Origin 'http://127.0.0.1:8000' is therefore not allowed access. | 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redire
ct.php?url=http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-a
llow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested re
source. Origin 'http://127.0.0.1:8000' is therefore not allowed access. Alternat
ively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode
. |
| 3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redire
ct.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-a
llow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested re
source. Origin 'http://127.0.0.1:8000' is therefore not allowed access. | 3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redire
ct.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-a
llow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested re
source. Origin 'http://127.0.0.1:8000' is therefore not allowed access. Alternat
ively, if you want an opaque response, switch to The Fetch API in 'no-cors' mode
. |
| 4 Tests that redirects between origins are never allowed, even when access control
is involved. | 4 Tests that redirects between origins are never allowed, even when access control
is involved. |
| 5 | 5 |
| 6 Per the spec, these test cases should be allowed, but cross-origin redirects are
currently unsupported in WebCore. | 6 Per the spec, these test cases should be allowed, but cross-origin redirects are
currently unsupported in WebCore. |
| 7 | 7 |
| 8 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc
es/access-control-basic-allow.cgi (sync) | 8 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc
es/access-control-basic-allow.cgi (sync) |
| 9 Expecting success: false | 9 Expecting success: false |
| 10 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
'http://127.0.0.1:8000/resources/redirect.php?url=http://localhost:8000/xmlhttp
request/resources/access-control-basic-allow.cgi'. | 10 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
'http://127.0.0.1:8000/resources/redirect.php?url=http://localhost:8000/xmlhttp
request/resources/access-control-basic-allow.cgi'. |
| 11 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc
es/access-control-basic-allow.cgi(async) | 11 Testing /resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resourc
es/access-control-basic-allow.cgi(async) |
| 12 Expecting success: true | 12 Expecting success: true |
| 13 PASS: PASS: Cross-domain access allowed. | 13 PASS: PASS: Cross-domain access allowed. |
| 14 | 14 |
| 15 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x
mlhttprequest/resources/access-control-basic-allow.cgi (sync) | 15 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x
mlhttprequest/resources/access-control-basic-allow.cgi (sync) |
| 16 Expecting success: false | 16 Expecting success: false |
| 17 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
'http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/xmlhttp
request/resources/access-control-basic-allow.cgi'. | 17 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
'http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/xmlhttp
request/resources/access-control-basic-allow.cgi'. |
| 18 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x
mlhttprequest/resources/access-control-basic-allow.cgi(async) | 18 Testing http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/x
mlhttprequest/resources/access-control-basic-allow.cgi(async) |
| 19 Expecting success: false | 19 Expecting success: false |
| 20 PASS: 0 | 20 PASS: 0 |
| 21 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x
mlhttprequest/resources/access-control-basic-allow.cgi (sync) | 21 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x
mlhttprequest/resources/access-control-basic-allow.cgi (sync) |
| 22 Expecting success: false | 22 Expecting success: false |
| 23 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
'http://localhost:8000/resources/redirect.php?url=http://localhost:8000/xmlhttp
request/resources/access-control-basic-allow.cgi'. | 23 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
'http://localhost:8000/resources/redirect.php?url=http://localhost:8000/xmlhttp
request/resources/access-control-basic-allow.cgi'. |
| 24 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x
mlhttprequest/resources/access-control-basic-allow.cgi(async) | 24 Testing http://localhost:8000/resources/redirect.php?url=http://localhost:8000/x
mlhttprequest/resources/access-control-basic-allow.cgi(async) |
| 25 Expecting success: false | 25 Expecting success: false |
| 26 PASS: 0 | 26 PASS: 0 |
| 27 | 27 |
| OLD | NEW |