3 if (window
.testRunner
) {
4 testRunner
.dumpAsText();
5 testRunner
.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
.testRunner
)
13 testRunner
.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>