blob: 560cfc947b5c56d0e0f57766b5196f74323c0fab [file] [log] [blame]
<html>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
function run() {
var frameElement = document.createElement('iframe')
frameElement.setAttribute("src", "resources/images.html");
document.getElementById("frameDiv").appendChild(frameElement);
if (window.layoutTestController) {
layoutTestController.setDefersLoading(true);
setTimeout("layoutTestController.setDefersLoading(false);layoutTestController.notifyDone();",1000);
} else
alert("Deferring loads");
}
</script>
<body onload='run()'>
<p>For the test to pass there should be no crash.</p>
<div id="frameDiv"></div>
</body>
</html>