1
0
Fork 0
firefox/docshell/test/navigation/file_bug1583110.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

26 lines
644 B
HTML

<html>
<head>
<script>
var bc;
window.onpageshow = function(pageshow) {
bc = new BroadcastChannel("bug1583110");
bc.onmessage = function(event) {
bc.close();
if (event.data == "loadnext") {
location.search = "?nextpage";
} else if (event.data == "back") {
history.back();
}
}
bc.postMessage({type: "pageshow", persisted: pageshow.persisted });
if (pageshow.persisted) {
document.body.appendChild(document.createElement("iframe"));
bc.close();
window.close();
}
}
</script>
</head>
<body>
</body>
</html>