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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3e8090bc8b76f07668efac30b9fdd160a0a8e8fd |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/cookies/resources/echo-json.php |
@@ -0,0 +1,7 @@ |
+<?php |
+header("Content-Type: application/json"); |
+header("Access-Control-Allow-Credentials: true"); |
+header("Access-Control-Allow-Origin: ${_SERVER['HTTP_ORIGIN']}"); |
+ |
+echo json_encode($_COOKIE); |
+?> |