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

Side by Side 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, 10 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 unified diff | Download patch
OLDNEW
1 <?php 1 <?php
2 header("Access-Control-Allow-Origin: *"); 2 header("Access-Control-Allow-Origin: *");
3 3
4 $name = 'abe.png'; 4 $name = 'green-background.css';
5 $fp = fopen($name, 'rb'); 5 $fp = fopen($name, 'rb');
6 header("Content-Type: image/png"); 6 header("Content-Type: text/css");
7 header("Content-Length: " . filesize($name)); 7 header("Content-Length: " . filesize($name));
8 8
9 fpassthru($fp); 9 fpassthru($fp);
10 exit; 10 exit;
11 ?> 11 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698