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

Side by Side Diff: LayoutTests/http/tests/security/resources/cors-style.php

Issue 954233003: Enable SRI only for same origin and CORS content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed test failures 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
(Empty)
1 <?php
2 if (strtolower($_GET["cors"]) != "false") {
3 header("Access-Control-Allow-Origin: http://127.0.0.1:8000");
4 }
5 if (strtolower($_GET["credentials"]) == "true") {
6 header("Access-Control-Allow-Credentials: true");
7 }
8 header("Content-Type: text/css");
9 echo ".id1 { background-color: yellow }";
10 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698