| <body onload="runTest()"> |
| testRunner.waitUntilDone(); |
| divBlock.addEventListener("DOMCharacterDataModified", eventListener, false); |
| pBlock.outerText = "text"; |
| divBlock.innerHTML = "PASS, didn't crash."; |
| divBlock.innerHTML = "Threw an exception - " + exception; |
| var range = document.createRange(); |
| range.setStart(divBlock, 0); |
| range.setEnd(divBlock, divBlock.childNodes.length - 1); |
| return GCController.collect(); |
| for (var i = 0; i < 10000; i++) { // > force garbage collection (FF requires about 9K allocations before a collect) |
| <br/>textnode1<p id="pBlock"></p>textnode2<br/> |