blob: 962cf68db069777e72ab9a4d9700a8dab45b6eb0 [file] [log] [blame]
<pre id="console"></pre>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
function log(msg)
{
document.getElementById('console').appendChild(document.createTextNode(msg + "\n"));
}
function pass()
{
log("PASS");
if (window.layoutTestController)
layoutTestController.notifyDone();
}
function fail()
{
log("FAIL");
if (window.layoutTestController)
layoutTestController.notifyDone();
}
</script>
<iframe src="resources/subframe-stop-load-in-unload-handler-using-document-write.html"></iframe>