summaryrefslogtreecommitdiffstats
path: root/docshell/test/mochitest/file_close_onpagehide2.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/mochitest/file_close_onpagehide2.html')
-rw-r--r--docshell/test/mochitest/file_close_onpagehide2.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docshell/test/mochitest/file_close_onpagehide2.html b/docshell/test/mochitest/file_close_onpagehide2.html
new file mode 100644
index 0000000000..a8e9479f47
--- /dev/null
+++ b/docshell/test/mochitest/file_close_onpagehide2.html
@@ -0,0 +1,5 @@
+<script>
+ window.onload = () => {
+ opener.postMessage("second", "*");
+ };
+</script>;