Index: LayoutTests/http/tests/htmlimports/resources/cors-js.cgi |
diff --git a/LayoutTests/http/tests/htmlimports/resources/cors-js.cgi b/LayoutTests/http/tests/htmlimports/resources/cors-js.cgi |
new file mode 100755 |
index 0000000000000000000000000000000000000000..f270a3a5f9747a137733889e10f9173455548da8 |
--- /dev/null |
+++ b/LayoutTests/http/tests/htmlimports/resources/cors-js.cgi |
@@ -0,0 +1,9 @@ |
+#!/usr/bin/perl -wT |
+use strict; |
+ |
+print "Content-Type: text/javascript\n"; |
+print "Access-Control-Allow-Credentials: true\n"; |
+print "Access-Control-Allow-Origin: http://127.0.0.1:8000\n\n"; |
+ |
+print "document.corsExternalScriptHasRun = true;\n"; |
+print "eval(\"document.evalFromCorsExternalHasRun = true;\");"; |