14 lines
367 B
HTML
14 lines
367 B
HTML
<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>
|