Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / onunload-form-submit-crash-2.html
blobc414698f8a994a389438c30170548ee9610a7fd2
1 <html>
2 <head>
3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=13015</title>
4 <script>
5 function test()
7 if (location.href.indexOf("?") == -1) {
8 if (window.testRunner) {
9 testRunner.dumpAsText();
10 testRunner.waitUntilDone();
12 location.href = "resources/onunload-form-submit-success.html";
13 } else {
14 document.getElementById("result").innerText = "FAIL";
15 if (window.testRunner)
16 testRunner.notifyDone();
20 function handleUnload()
22 if (location.href.indexOf("?") == -1)
23 document.myForm.submit();
25 </script>
26 </head>
27 <body onload="test()" onunload="handleUnload()">
28 <form name="myForm">
29 </form>
30 <p id="result">
31 Test did not finish.
32 </p>
33 </body>
34 <html>