summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/bug346659-parent.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/bugs/bug346659-parent.html')
-rw-r--r--dom/tests/mochitest/bugs/bug346659-parent.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/tests/mochitest/bugs/bug346659-parent.html b/dom/tests/mochitest/bugs/bug346659-parent.html
new file mode 100644
index 0000000000..7d675cf20e
--- /dev/null
+++ b/dom/tests/mochitest/bugs/bug346659-parent.html
@@ -0,0 +1,11 @@
+<body onload="postBack();">
+ <script>
+ var childWin;
+ function postBack() {
+ childWin = window.frames[0];
+ var s = decodeURIComponent(window.location.search.substring(1));
+ window.opener.postMessage(s, "http://mochi.test:8888");
+ }
+ </script>
+ <iframe></iframe>
+</body>