Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8e4d55fc84
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (14 sloc) 0.535 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
function runTest() {
    var form = document.getElementById('f');
<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>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>
Something went wrong with that request. Please try again.