OLD | NEW |
1 <html> | 1 <html> |
2 <body onUnload="document.myForm.submit()"> | 2 <body onUnload="document.myForm.submit()"> |
| 3 <p>This is just a dummy page that loads the next page to see if we crash
.</p> |
| 4 <form name="myForm" action="resources/onunload-form-submit-crash2.html">
</form> |
3 <script> | 5 <script> |
4 if (window.testRunner) { | 6 if (window.testRunner) { |
5 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
6 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
7 } | 9 } |
8 | 10 |
9 window.setTimeout("location.href='resources/onunload-form-submit-suc
cess.html'", 0); | 11 window.setTimeout("location.href='resources/onunload-form-submit-suc
cess.html'", 0); |
10 </script> | 12 </script> |
11 <p>This is just a dummy page that loads the next page to see if we crash
.</p> | |
12 <form name="myForm" action="resources/onunload-form-submit-crash2.html">
</form> | |
13 </body> | 13 </body> |
14 <html> | 14 <html> |
OLD | NEW |