tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / forms / interactive-validation-attach-assertion.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../js/resources/js-test-pre.js"></script>
5 </head>
6 <body>
7
8 <form>
9 <input required>
10 <input type=submit>
11 </form>
12
13 <div id=console></div>
14
15 <script>
16 function check() {
17     testPassed('Not crashed.');
18     if (window.layoutTestController)
19         layoutTestController.notifyDone();
20 }
21
22 if (window.layoutTestController) {
23     layoutTestController.dumpAsText();
24     layoutTestController.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.');
29 }
30
31 </script>
32 </body>
33 </html>