1
0
Fork 0
firefox/docshell/test/mochitest/file_bug1773192_1.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

13 lines
382 B
HTML

<script>
let bc = new BroadcastChannel("bug1743353");
bc.addEventListener("message", ({ data }) => {
if (data == "next") {
location = "file_bug1773192_2.html";
} else if (data == "close") {
window.close();
}
});
window.addEventListener("pageshow", () => {
bc.postMessage({ location: location.href, referrer: document.referrer });
});
</script>