blob: d863b9f0158f10839e1cf52ed8cc6a0f50586788 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<script>
window.addEventListener("pageshow", ({ persisted }) => {
let bc = new BroadcastChannel("bug1741132");
bc.addEventListener("message", ({ data: { cmd, arg } }) => {
bc.close();
switch (cmd) {
case "load":
document.location = arg;
break;
case "go":
window.blockBFCache = new RTCPeerConnection();
history.go(arg);
break;
case "close":
window.close();
break;
}
});
bc.postMessage(persisted);
});
</script>
</head>
<body>
</body>
</html>
|