<body>
<script>
    for (var i = 0; i < 130000; ++i)
        document.write("<a>1</a>");

    document.body.innerHTML = "<html><body>Passed</body></html>";

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