file_bfcache_plus_hash_2.html (468B)
1 <html><body> 2 Popup 2 3 <script type="application/javascript"> 4 var bc = new BroadcastChannel("bug646641_2"); 5 window.onload = () => { 6 bc.postMessage({ message: "childLoad", num: 2 }) 7 requestAnimationFrame(() => bc.postMessage({message: "childPageshow", num: 2})); 8 } 9 bc.onmessage = (msgEvent) => { 10 var msg = msgEvent.data; 11 if (msg == "go-2") { 12 history.go(-2); 13 bc.close(); 14 } 15 } 16 </script> 17 </body></html>