blob: 22fc0a0162e2c5099cb50e49783f0115e35f6c8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<html>
<head>
<script>
function loadNextPage() {
if (location.search.includes("testAsyncLength=true")) {
var shell = SpecialPowers.wrap(window).docShell;
var shistory = SpecialPowers.do_QueryInterface(shell, "nsIWebNavigation").sessionHistory;
shistory.asyncHistoryLength = true;
}
opener.postMessage({ initialLength: history.length}, "*");
location.href = 'file_history_length_during_pageload_2.html';
}
</script>
</head>
<body onload="setTimeout(loadNextPage);">
</body>
</html>
|