summaryrefslogtreecommitdiffstats
path: root/docshell/test/navigation/file_tell_opener.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/navigation/file_tell_opener.html')
-rw-r--r--docshell/test/navigation/file_tell_opener.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/docshell/test/navigation/file_tell_opener.html b/docshell/test/navigation/file_tell_opener.html
new file mode 100644
index 0000000000..bd45c275e6
--- /dev/null
+++ b/docshell/test/navigation/file_tell_opener.html
@@ -0,0 +1,8 @@
+<html>
+ <body onload="bodyLoaded()">Frame 1</body>
+ <script>
+ function bodyLoaded() {
+ opener.postMessage("body-loaded", "*");
+ }
+ </script>
+</html>