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

Side by Side Diff: LayoutTests/http/tests/htmlimports/resources/cors-csp-blocking.cgi

Issue 19940002: [HTML Import] Respect Content Security Policy Model (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix mac build failure. Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/perl -wT
2 use strict;
3
4 print "Content-Type: text/html\n";
5 print "Content-Security-Policy: script-src 'unsafe-inline'\n";
6 print "Access-Control-Allow-Credentials: true\n";
7 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n";
8
9 print "<html><head>";
10 print "<link id=\"shouldBeImported\" rel=\"import\" href=\"cors-basic.cgi\">";
11 print "</head></html>\n";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698