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