summaryrefslogtreecommitdiffstats
path: root/docshell/test/mochitest/file_bug580069_2.sjs
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/mochitest/file_bug580069_2.sjs')
-rw-r--r--docshell/test/mochitest/file_bug580069_2.sjs8
1 files changed, 8 insertions, 0 deletions
diff --git a/docshell/test/mochitest/file_bug580069_2.sjs b/docshell/test/mochitest/file_bug580069_2.sjs
new file mode 100644
index 0000000000..ff03c74e68
--- /dev/null
+++ b/docshell/test/mochitest/file_bug580069_2.sjs
@@ -0,0 +1,8 @@
+function handleRequest(request, response) {
+ response.setHeader("Content-Type", "text/html", false);
+ response.write(
+ "<html><body onload='parent.page2Load(\"" +
+ request.method +
+ "\")'>file_bug580069_2.sjs</body></html>"
+ );
+}