<html> | |
<body onUnload="document.myForm.submit()"> | |
<script> | |
if (window.layoutTestController) { | |
layoutTestController.dumpAsText(); | |
layoutTestController.waitUntilDone(); | |
} | |
window.setTimeout("location.href='resources/onunload-form-submit-success.html'", 0); | |
</script> | |
<p>This is just a dummy page that loads the next page to see if we crash.</p> | |
<form name="myForm" action="resources/onunload-form-submit-crash2.html"></form> | |
</body> | |
<html> |