chromium/third_party/blink/web_tests/fast/dom/Document/document-write-recursion.html

<script>
if (window.testRunner)
    testRunner.dumpAsText();
</script>
<body>
<script>
    var t = document.body.innerHTML;
    document.write(t);
</script>
PASS
</body>