Fix time-out in testOnFormResubmission
Bug 6419734
After loading a page, the javascript within the page resubmits
it. The detector first waits for the page to load and then
waits for the second load. If it happens that the javascript
resubmits the page before the first load is detected, it will
not detect the first load before the second one starts and will
not detect all the signals of the second load. The second wait
will then hang while waiting. This CL causes the javscript to
wait longer to ensure that the first page load is detected
prior to resubmitting the page.
Change-Id: I0cbad44406fc4f725ad68f78dae0718c7ea2f39c
diff --git a/tests/assets/webkit/jsform.html b/tests/assets/webkit/jsform.html
index ce55498..4f04b29 100644
--- a/tests/assets/webkit/jsform.html
+++ b/tests/assets/webkit/jsform.html
@@ -24,7 +24,7 @@
}
}
</script>
- <body onload="window.setTimeout(function() { fireSubmit(); }, 500);">
+ <body onload="window.setTimeout(function() { fireSubmit(); }, 1000);">
javascript form test
<form id="formId" action="test.html#result" method="post">
<input type="hidden" name="foo" value="bar" />