file_bfcache_plus_hash_1.html (657B)
1 <html><body> 2 Popup 1 3 <script type="application/javascript"> 4 var bc = new BroadcastChannel("bug646641_1"); 5 window.onload = () => { 6 bc.postMessage({ message: "childLoad", num: 1 }) 7 } 8 9 window.onpageshow = () => { 10 bc.postMessage({ message: "childPageshow", num: 1 }) 11 } 12 bc.onmessage = (msgEvent) => { 13 var msg = msgEvent.data; 14 if (msg == "pushState") { 15 history.pushState("", "", ""); 16 location = "file_bfcache_plus_hash_2.html"; 17 } else if (msg == "close") { 18 bc.postMessage({ message: "closed" }); 19 bc.close(); 20 window.close(); 21 } 22 } 23 </script> 24 </body></html>