summaryrefslogtreecommitdiffstats
path: root/dom/tests/mochitest/bugs/iframe_bug38959-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/mochitest/bugs/iframe_bug38959-2.html')
-rw-r--r--dom/tests/mochitest/bugs/iframe_bug38959-2.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/tests/mochitest/bugs/iframe_bug38959-2.html b/dom/tests/mochitest/bugs/iframe_bug38959-2.html
new file mode 100644
index 000000000..36cd0c156
--- /dev/null
+++ b/dom/tests/mochitest/bugs/iframe_bug38959-2.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+ <title>Iframe test for bug 38959</title>
+</head>
+<body">
+<script>
+
+x = true;
+window.opener.postMessage(2, "http://mochi.test:8888");
+window.close();
+
+</script>
+</body>
+</html>