summaryrefslogtreecommitdiffstats
path: root/docshell/test/bug413310-post.sjs
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/bug413310-post.sjs')
-rw-r--r--docshell/test/bug413310-post.sjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/docshell/test/bug413310-post.sjs b/docshell/test/bug413310-post.sjs
new file mode 100644
index 000000000..b8d85dd3c
--- /dev/null
+++ b/docshell/test/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>");
+}