blob: c8c53d1be231ac08d30dc692f14cdcc3e91da6dd [file] [log] [blame]
<html>
<head>
<script>
var im;
function getImg() {
im = document.getElementById("right").contentDocument.getElementById("img");
}
function setImg() {
im.src = "resources/mozilla.gif";
}
function init() {
if (window.layoutTestController) {
window.layoutTestController.waitUntilDone();
}
getImg();
document.getElementById("right").contentWindow.location.href = "about:blank";
if (window.layoutTestController) {
setTimeout("setImg(); window.layoutTestController.notifyDone();",100);
}
else {
setTimeout("setImg();",100);
}
}
</script>
</head>
<body onload=init()>
<iframe id="right" src="resources/top.html"></iframe>
</body>
</html>