blob: ebf11cd0674fde4b6e36df3608b55c916255fedb [file] [log] [blame]
<p>Test for a possible problem related to <a href=\'https://bugs.webkit.org/show_bug.cgi?id=4395\'>bug 4395</a>:
REGRESSION: document.open doesn't clear the document.</p>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.open();
document.write("<p>This line should appear second.</p>");
document.close();
</script>
<p>Last line.</p>