blob: 134e97093e8b777480756873321c843a1ac7ce7f [file] [log] [blame]
<html>
<body onunload="unload()" onload="load()">
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function load()
{
location = "data:text/html,You should have seen an unload alert appear.<script>if (window.testRunner) testRunner.notifyDone(); </" + "script>";
}
function unload()
{
alert("unload");
}
</script>
start document
</body>
</html>