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

Side by Side Diff: LayoutTests/http/tests/security/resources/green-background-allow-star-import.php

Issue 1011103002: Allow cross-origin cssRules access to CORS-fetched stylesheet. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: compile fix.. Created 5 years, 9 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 = 'green-background.css'; 4 $name = 'green-background-import-anonymous.css';
5 $fp = fopen($name, 'rb'); 5 $fp = fopen($name, 'rb');
6 header("Content-Type: text/css"); 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