Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / interactive-validation-attach-assertion.html
blob5b8a37c7ce57a987c2a696e27c6703a7cc870ef5
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
8 <form>
9 <input required>
10 <input type=submit>
11 </form>
13 <div id=console></div>
15 <script>
16 function check() {
17 testPassed('Not crashed.');
18 if (window.testRunner)
19 testRunner.notifyDone();
22 if (window.testRunner) {
23 testRunner.dumpAsText();
24 testRunner.waitUntilDone();
25 setTimeout(check, 10);
26 document.getElementsByTagName('input')[1].click();
27 } else {
28 debug('Click the submit button. The test passes if the browser doesn\'t crash.');
31 </script>
32 </body>
33 </html>