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

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

Issue 21182004: [HTML Imports] Make import loading in order. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed feedback. 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
Index: LayoutTests/http/tests/htmlimports/resources/blocking-script-js.cgi
diff --git a/LayoutTests/http/tests/htmlimports/resources/blocking-script-js.cgi b/LayoutTests/http/tests/htmlimports/resources/blocking-script-js.cgi
new file mode 100755
index 0000000000000000000000000000000000000000..f9746cc808f0c99122679cdc29ec536054664a91
--- /dev/null
+++ b/LayoutTests/http/tests/htmlimports/resources/blocking-script-js.cgi
@@ -0,0 +1,10 @@
+#!/usr/bin/perl -wT
+use strict;
+
+print "Content-Type: text/javascript\n\n";
+# If you want to make things super predictable, this will help for the cost of slowness.
+# In practice, CGI invocation overhead is sufficiently slow.
+# sleep 1;
+print <<EOF
+blockingScriptHasRun = true;
+EOF

Powered by Google App Engine
This is Rietveld 408576698