blob: 492fd103a64906d3dee3fd4f6d37daefc4f0ae6d [file] [log] [blame]
<!DOCTYPE html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p>Test a bug that an assertion fails by invoking interactive validation twice very quickly.</p>
<form>
<input required style="float:left">
<input type=submit id=submit>
</form>
<div id=console></div>
<script>
var submit = document.getElementById('submit');
window.jsTestIsAsync = true;
submit.click();
setTimeout(delayedSubmit, 0);
function delayedSubmit() {
submit.click();
testPassed('Not crashed.');
finishJSTest();
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>