chromium/third_party/blink/web_tests/fast/tokenizer/write-on-load.html

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

function doubleWrite(number)
{
    document.write("<script>document.write(" + number + ")</scr" +
                   "ipt> <script>document.write(" + (number + 1) + ")</scr" + "ipt> ")
}
</script>
2
<script
    src="data:text/javascript,doubleWrite(3)"
    onload="doubleWrite(5)">
</script>
7