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

Unified Diff: LayoutTests/http/tests/security/resources/green-background-allow-credentials.php

Issue 135723008: Add CORS support for <link> elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add setCrossOriginAccessControl() helper to avoid repetition matching CORS attribute value Created 6 years, 11 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: LayoutTests/http/tests/security/resources/green-background-allow-credentials.php
diff --git a/LayoutTests/http/tests/security/resources/abe-allow-credentials.php b/LayoutTests/http/tests/security/resources/green-background-allow-credentials.php
similarity index 76%
copy from LayoutTests/http/tests/security/resources/abe-allow-credentials.php
copy to LayoutTests/http/tests/security/resources/green-background-allow-credentials.php
index 2ca740807aa1f319cae83287a5be62d047151b97..93be5f0b1c3c2d227fad7b915ad4e225344647c8 100644
--- a/LayoutTests/http/tests/security/resources/abe-allow-credentials.php
+++ b/LayoutTests/http/tests/security/resources/green-background-allow-credentials.php
@@ -2,9 +2,9 @@
header("Access-Control-Allow-Origin: http://127.0.0.1:8000");
header("Access-Control-Allow-Credentials: true");
-$name = 'abe.png';
+$name = 'green-background.css';
$fp = fopen($name, 'rb');
-header("Content-Type: image/png");
+header("Content-Type: text/css");
header("Content-Length: " . filesize($name));
fpassthru($fp);

Powered by Google App Engine
This is Rietveld 408576698