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 |