Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / interactive-validation-assertion-by-validate-twice.html
blobe67a1865139dfcce7ee64e4828ef7ea9ed75c85d
1 <!DOCTYPE html>
2 <head>
3 <script src="../../resources/js-test.js"></script>
4 </head>
5 <body>
7 <p>Test a bug that an assertion fails by invoking interactive validation twice very quickly.</p>
9 <form>
10 <input required style="float:left">
11 <input type=submit id=submit>
12 </form>
14 <div id=console></div>
16 <script>
17 var submit = document.getElementById('submit');
18 window.jsTestIsAsync = true;
20 submit.click();
21 setTimeout(delayedSubmit, 0);
23 function delayedSubmit() {
24 submit.click();
25 testPassed('Not crashed.');
26 finishJSTest();
28 </script>
29 </body>