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

Side by Side Diff: LayoutTests/http/tests/htmlimports/resources/having-domain-policy.cgi

Issue 183883004: Let ContentSecurityPolicy shared between imports and the master. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adding guardRef()/guardDeref() Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 #!/usr/bin/perl -wT
2 use strict;
3
4 print "Content-Type: text/html\n";
5 print "Access-Control-Allow-Credentials: true\n";
6 print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n";
7
8 print <<EOF
9 <!DOCTYPE html>
10 <html>
11 <head>
12 <script src="http://127.0.0.1:8000/htmlimports/resources/external-script.js"></s cript>
13 <script src="http://localhost:8000/htmlimports/resources/cors-js.cgi"></script>
14 <script>
15 document.inlineScriptHasRun = true;
16 eval("document.evalFromInlineHasRun = true;");
17 </script>
18
19 </head>
20 </html>
21 EOF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698