Chromium Code Reviews| Index: LayoutTests/http/tests/htmlimports/resources/csp-blocking.cgi |
| diff --git a/LayoutTests/http/tests/htmlimports/resources/csp-blocking.cgi b/LayoutTests/http/tests/htmlimports/resources/csp-blocking.cgi |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..f0584e2156d49f23049acf2538fbe17ded279f1d |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/htmlimports/resources/csp-blocking.cgi |
| @@ -0,0 +1,9 @@ |
| +#!/usr/bin/perl -wT |
| +use strict; |
| + |
| +print "Content-Type: text/html\n"; |
| +print "Content-Security-Policy: script-src 'unsafe-inline'\n\n"; |
| + |
| +print "<html><head>"; |
| +print "<link id=\"shouldBeBlocked\" rel=\"import\" href=\"hello.html\">"; |
| +print "</head></html>\n"; |