Bug 1839316: part 5) Guard the "fetchpriority" attribute behind a pref. r=kershaw...
[gecko.git] / docshell / test / navigation / file_shiftReload_and_pushState.html
blob7882143c83a7a7e4921a23490b5263f453c95139
1 <html>
2 <head>
3 <script>
4 function test() {
5 try {
6 frames[0].history.pushState({}, "state", "?pushed");
7 } catch (ex) {
8 opener.ok(false, "history.pushState shouldn't throw");
11 if (!opener.shiftReloadPushStateFirstRound) {
12 opener.shiftReloadPushStateFirstRound = true;
13 window.location.reload(true);
14 } else {
15 opener.ok(true, "Did run history.push");
16 opener.finishTest();
20 window.addEventListener("load", function() { setTimeout(test, 0); });
21 </script>
22 </head>
23 <body>
24 <iframe src="frame0.html"></iframe>
25 <script>
26 </script>
27 </body>
28 </html>