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