Index: LayoutTests/http/tests/xmlhttprequest/access-control-and-redirects-expected.txt |
diff --git a/LayoutTests/http/tests/xmlhttprequest/access-control-and-redirects-expected.txt b/LayoutTests/http/tests/xmlhttprequest/access-control-and-redirects-expected.txt |
index 0eac67fcab4506c8bf1f6215eeacc34db39dcaa4..502b26cdd07532a86b88bec86ff8ba68d922816f 100644 |
--- a/LayoutTests/http/tests/xmlhttprequest/access-control-and-redirects-expected.txt |
+++ b/LayoutTests/http/tests/xmlhttprequest/access-control-and-redirects-expected.txt |
@@ -1,6 +1,6 @@ |
CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/. |
-CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-allow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. |
-CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow.cgi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. |
+CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redirect.php?url=http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-allow.cgi. The request was redirected to 'http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-allow.cgi', and has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. |
+CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/resources/redirect.php?url=http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow.cgi. The request was redirected to 'http://localhost:8000/xmlhttprequest/resources/access-control-basic-allow.cgi', and has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. |
Tests that redirects between origins are never allowed, even when access control is involved. |
Per the spec, these test cases should be allowed, but cross-origin redirects are currently unsupported in WebCore. |