chromium/third_party/blink/web_tests/fast/parser/resources/document-write-then-close.html

<!DOCTYPE html>
<script>
document.write("<script src='" + "irrelevant.js" + "'></scr" + "ipt>");
window.close();
if (window.testRunner)
    testRunner.notifyDone();
</script>