blob: 7137b2e84954192c64e11922a5a0771d67c5055b [file] [log] [blame]
<script>
onload = () => {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
let previous = document.body
function foo() {
let d0 = document.createElement('div');
previous.appendChild(d0);
let d1 = document.createElement('q');
previous = previous.appendChild(d1);
}
for (let i=0; i<202; i++) {
foo();
}
setTimeout(function() { document.write('This test should not crash.'); testRunner.notifyDone(); }, 0);
}
</script>