chromium/third_party/blink/web_tests/fast/parser/document-write-partial-script.html

<script>
if (window.testRunner)
    testRunner.dumpAsText();

document.write("<scr");
</script>ipt>
// <iframe onload="alert('FAIL: If this string is visible, then this test fails.')" src="about:blank"></iframe>
alert('PASS: This test passes if this string is alerted');
</script>