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

19 lines
612 B
HTML

<html>
<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store">
<meta name="referrer" content="same-origin">
</head>
<body>
<form method="POST" action="file_bug1773192_3.sjs"></form>
<script>
history.replaceState({}, "", document.referrer);
setTimeout(() => {
// The test relies on this page not going into the BFCache, so that
// when we come back to it we load the URL from the replaceState
// instead.
window.blockBFCache = new RTCPeerConnection();
document.forms[0].submit();
}, 0);
</script>
</body>
</html>