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

Unified Diff: LayoutTests/http/tests/security/resources/green-background-allow-star.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-star.php
diff --git a/LayoutTests/http/tests/security/resources/abe-allow-star.php b/LayoutTests/http/tests/security/resources/green-background-allow-star.php
similarity index 69%
copy from LayoutTests/http/tests/security/resources/abe-allow-star.php
copy to LayoutTests/http/tests/security/resources/green-background-allow-star.php
index d3d621d646477d864a789c6c5a00064c172dfaa7..c176c768a539e8615c9e4d72bd30c68292f49ac8 100644
--- a/LayoutTests/http/tests/security/resources/abe-allow-star.php
+++ b/LayoutTests/http/tests/security/resources/green-background-allow-star.php
@@ -1,9 +1,9 @@
<?php
header("Access-Control-Allow-Origin: *");
-$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