Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5c139c596c
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.535 kB
<html>
<script>
function runTest() {
var form = document.getElementById('f');
form.submit();
form.submit();
}
</script>
<form id="f" target="foo"><input></form>
<p>This tests that calling form.submit() twice in a row from JavaScript, on a form with a custom target and with at least one text field does not cause an assertion in a debug build of Safari.
</p>
<p>To test this, click the button below. A new window should open up and Safari should not assert.</p>
<button onclick="runTest()">Click Here</button>
</html>
Jump to Line
Something went wrong with that request. Please try again.