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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi

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/resources/access-control-basic-allow-access-control-origin-header.cgi
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi
index c4d886c7c0ddf33c2492c0e05cef2272f067a686..e036efa4c063bb480cc6d78aab2cb592a326f37d 100755
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/resources/access-control-basic-allow-access-control-origin-header.cgi
@@ -3,6 +3,7 @@ use strict;
print "Content-Type: text/plain\n";
print "Cache-Control: no-cache, no-store\n";
+print "Access-Control-Allow-External: true\n";
print "Access-Control-Allow-Origin: *\n\n";
print "PASS: Cross-domain access allowed.\n";

Powered by Google App Engine
This is Rietveld 408576698