chromium/third_party/blink/web_tests/fast/dom/Document/doc-open-while-parsing.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>