3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=
13015</title>
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";
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();
27 <body onload=
"test()" onunload=
"handleUnload()">