Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/request-from-popup-expected.txt

Issue 1745083002: CORS-RFC1918: Force preflights for external requests in DocumentThreadableLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/request-from-popup-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/request-from-popup-expected.txt b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/request-from-popup-expected.txt
index e55f8fb14563f0d86cdc6fc4915c4384f6db639d..fcbb91d3e170080fabbc99b670777ec18c13cd3c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/request-from-popup-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/request-from-popup-expected.txt
@@ -1,3 +1,4 @@
+CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi. Response to preflight request doesn't pass access control check: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is true. Origin 'http://127.0.0.1:8000' is therefore not allowed access. The credentials mode of an XMLHttpRequest is controlled by the withCredentials attribute.
Test for bug 4343: XMLHttpRequest doesn't work in a JavaScript-created window.
SUCCESS

Powered by Google App Engine
This is Rietveld 408576698