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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/sniff-js.cgi

Issue 19762002: [HTML Imports] Let script of imported document running. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made a test more robust. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/http/tests/htmlimports/resources/run-check.js ('k') | Source/core/dom/DocumentInit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/htmlimports/resources/sniff-js.cgi
diff --git a/LayoutTests/http/tests/htmlimports/resources/sniff-js.cgi b/LayoutTests/http/tests/htmlimports/resources/sniff-js.cgi
new file mode 100755
index 0000000000000000000000000000000000000000..d283c31d08c43402068b3630d22a6050d67c6d5d
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/resources/sniff-js.cgi
@@ -0,0 +1,7 @@
+#!/usr/bin/perl -wT
+use strict;
+
+print "X-Content-Type-Options: nosniff\n";
+print "Content-Type: text/plain\n\n";
+
+print "document.sniffing = true;\n";
« no previous file with comments | « LayoutTests/http/tests/htmlimports/resources/run-check.js ('k') | Source/core/dom/DocumentInit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698