3 if (window.layoutTestController) {
4 layoutTestController.dumpAsText();
5 layoutTestController.waitUntilDone();
8 function onFrameLoad(frame) {
9 var client = frame.contentWindow.client();
10 frame.parentNode.removeChild(frame);
11 client.open("GET", "DoesNotExist.txt");
12 if (window.layoutTestController)
13 layoutTestController.notifyDone();
17 This tests that removing a child frame in XMLHttpRequest does not crash the renderer.
19 <iframe src="resources/xmlhttprequest-open-after-iframe-onload-remove-self-child.html" onload="onFrameLoad(this)"></iframe>