summaryrefslogtreecommitdiffstats
path: root/docshell/test/mochitest/file_bug1740516_1_inner.html
diff options
context:
space:
mode:
Diffstat (limited to 'docshell/test/mochitest/file_bug1740516_1_inner.html')
-rw-r--r--docshell/test/mochitest/file_bug1740516_1_inner.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/docshell/test/mochitest/file_bug1740516_1_inner.html b/docshell/test/mochitest/file_bug1740516_1_inner.html
new file mode 100644
index 0000000000..159c6bde5a
--- /dev/null
+++ b/docshell/test/mochitest/file_bug1740516_1_inner.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <meta charset="utf-8">
+ <script>
+ window.addEventListener("pageshow", ({ persisted }) => {
+ let bc = new BroadcastChannel("bug1740516_1_inner");
+ bc.postMessage(persisted);
+ bc.close();
+ });
+ </script>
+</head>
+<body>
+</body>
+</html>