4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 testRunner
.dumpResourceLoadCallbacks();
7 testRunner
.waitUntilDone();
10 function removeAndReplaceIframe() {
11 document
.body
.removeChild(document
.getElementById("iframe"));
12 var newIframe
= document
.createElement("iframe");
13 newIframe
.src
= "resources/iframe304.php";
14 newIframe
.onload = function() { setTimeout(finish
, 0); }
15 document
.body
.appendChild(newIframe
);
19 if (window
.testRunner
)
20 testRunner
.notifyDone();
24 <body onload=
"setTimeout(removeAndReplaceIframe, 0)">
25 <iframe id=
"iframe" src=
"resources/iframe304.php"></iframe>