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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cookies/resources/echo-json.php

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/cookies/resources/testharness-helpers.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/cookies/resources/echo-json.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/cookies/resources/echo-json.php b/third_party/WebKit/LayoutTests/http/tests/cookies/resources/echo-json.php
index 3e8090bc8b76f07668efac30b9fdd160a0a8e8fd..5ee6af6488c9706658410afa789c06b70eb4d28f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cookies/resources/echo-json.php
+++ b/third_party/WebKit/LayoutTests/http/tests/cookies/resources/echo-json.php
@@ -1,6 +1,7 @@
<?php
header("Content-Type: application/json");
header("Access-Control-Allow-Credentials: true");
+header("Access-Control-Allow-External: true");
header("Access-Control-Allow-Origin: ${_SERVER['HTTP_ORIGIN']}");
echo json_encode($_COOKIE);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/cookies/resources/testharness-helpers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698