blob: 32c09c6459c6721cb42a2a883274d079c99344f5 [file] [edit]
<!-- webkit-test-runner [ dumpResourceLoadCallbacks=true ] -->
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function removeAndReplaceIframe() {
document.body.removeChild(document.getElementById("iframe"));
var newIframe = document.createElement("iframe");
newIframe.src = "resources/iframe304.py";
newIframe.onload = function() { setTimeout(finish, 0); }
document.body.appendChild(newIframe);
}
function finish() {
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="setTimeout(removeAndReplaceIframe, 0)">
<iframe id="iframe" src="resources/iframe304.py"></iframe>
</body>
</html>