blob: ad70271d6690db060f390725de3436e1c6bd4b7a [file] [log] [blame]
<html>
<body>
<p>This test verifies that accessing a frame's document while it is still loading does not prevent the load, but can
access at least a temporary empty document.</p>
<iframe frameborder=0 height=40 id="frame1" src="resources/success.html"></iframe><br>
<iframe frameborder=0 height=40 id="frame2" src="resources/success.html"></iframe><br>
<script>
document.write(frames[0].document);
document.write('<br>');
document.write(document.getElementById("frame2").contentDocument);
</script>
<p>If this test passes, you should see SUCCESS twice, followed by [object HTMLDocument] twice.
</body>
</html>