file_bug1773192_2.html (612B)
1 <html> 2 <head> 3 <meta http-equiv="Cache-Control" content="no-cache, no-store"> 4 <meta name="referrer" content="same-origin"> 5 </head> 6 <body> 7 <form method="POST" action="file_bug1773192_3.sjs"></form> 8 <script> 9 history.replaceState({}, "", document.referrer); 10 setTimeout(() => { 11 // The test relies on this page not going into the BFCache, so that 12 // when we come back to it we load the URL from the replaceState 13 // instead. 14 window.blockBFCache = new RTCPeerConnection(); 15 document.forms[0].submit(); 16 }, 0); 17 </script> 18 </body> 19 </html>