| testRunner.waitUntilDone();
|
| return GCController.collect();
|
| for (var i = 0; i < 10000; i++) { // force garbage collection (FF requires about 9K allocations before a collect).
|
| var s = new String("abc");
|
| iteratorRoot = document.createElement('p');
|
| element = iteratorRoot.appendChild(document.createElement('p'));
|
| element.appendChild(document.createElement('p'));
|
| iterator = document.createNodeIterator(iteratorRoot, -1);
|
| iterator.nextNode(); iterator.nextNode(); iterator.nextNode();
|
| iteratorRoot.removeChild(element);
|
| otherDocument = document.implementation.createHTMLDocument();
|
| otherDocument.body.appendChild(iteratorRoot);
|
| div = document.body.appendChild(document.createElement('div'));
|
| document.body.removeChild(div);
|
| <body onload="runTest()">
|
| Test passes if it does not crash.
|