| OLD | NEW |
| 1 <!-- Page with a slowly loading iframe that updates its history state before | 1 <!-- Page with a slowly loading iframe that updates its history state before |
| 2 the iframe commits. --> | 2 the iframe commits. --> |
| 3 <script> | 3 <script src="h.js"></script> |
| 4 function updateHistory() { | 4 <body> |
| 5 history.pushState({}, "", "empty.html"); | |
| 6 } | |
| 7 | |
| 8 function loadframe() { | |
| 9 var frame = document.getElementById("frame"); | |
| 10 frame.src = "http://127.0.0.1:" + location.search.substr(1) + "/test5"; | |
| 11 } | |
| 12 </script> | |
| 13 <body onload="loadframe()"> | |
| 14 <iframe id="frame"></frame> | 5 <iframe id="frame"></frame> |
| 15 </body> | 6 </body> |
| OLD | NEW |