| var pageHasLoaded = false; |
| var frameHasLoaded = false; |
| return GCController.collect(); |
| for (var i = 0; i < 10000; i++) |
| testRunner.waitUntilDone(); |
| if (pageHasLoaded && frameHasLoaded) |
| if (pageHasLoaded && frameHasLoaded) |
| var frame = document.getElementById("frame"); |
| frame.setAttribute("onload", "frameLoadedAgain()"); |
| frame.setAttribute("src", "about:blank"); |
| function frameLoadedAgain() |
| document.getElementById("result").firstChild.data = "TEST PASSED - Unless an assertion or crash happens soon."; |
| <body onload="pageLoaded()"> |
| <iframe id="frame" src="resources/adoptNode-node-list-cache-subframe.html" onload="frameLoaded()"></iframe> |
| <div id="result">TEST DID NOT RUN YET</div> |