blob: 9e6efec0dd196d0a42d185f901f041f2e8bd09af [file] [log] [blame]
<body>
This test checks the following case:<br>
* Create an iframe<br>
* Set its location to about:blank<br>
* In a setTimeout(), navigate to a non-blank page<br>
The iframe navigations should not create new history entries, even though the non-blank navigation is after the load (there is only one history entry in the iframe context, and it is about:blank).
<iframe id="i" name="i"></iframe>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
testRunner.dumpBackForwardList();
}
var i = document.getElementById("i");
i.src = "about:blank";
setTimeout(function() {
i.src = "resources/pass-and-notify-done.html"
}, 0);
</script>
</body>