haikuwebkit/LayoutTests/fast/loader/dynamic-iframe-extra-back-f...

19 lines
642 B
HTML

<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpBackForwardList();
testRunner.waitUntilDone();
}
function loaded()
{
var f = document.createElement("iframe");
document.body.appendChild(f);
f.setAttribute('src', 'resources/notify-done.html');
}
</script>
<body onload="setTimeout('loaded()', 0);">
&lt;rdar://problem/8636239&gt; and https://bugs.webkit.org/show_bug.cgi?id=53785 - Extraneous back/forward entries with dynamically appended iframes.<br>
This page appends an iframe after onload. That iframe should *not* result in a new back/forward entry in the session history.<br>
</body>