summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/loader/onunload-form-submit-crash.html
blob: fff237cf61abde32fac0234bd45c646d873e0891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<html>
    <body onUnload="document.myForm.submit()">
        <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>
        <script>
            if (window.testRunner) {
                testRunner.dumpAsText();
                testRunner.waitUntilDone();
            }

            window.setTimeout("location.href='resources/onunload-form-submit-success.html'", 0);
        </script>
    </body>
<html>