Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: LayoutTests/fast/forms/interactive-validation-attach-assertion.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 7
8 <form> 8 <form>
9 <input required> 9 <input required>
10 <input type=submit> 10 <input type=submit>
11 </form> 11 </form>
12 12
13 <div id=console></div> 13 <div id=console></div>
14 14
15 <script> 15 <script>
16 function check() { 16 function check() {
17 testPassed('Not crashed.'); 17 testPassed('Not crashed.');
18 if (window.testRunner) 18 if (window.testRunner)
19 testRunner.notifyDone(); 19 testRunner.notifyDone();
20 } 20 }
21 21
22 if (window.testRunner) { 22 if (window.testRunner) {
23 testRunner.dumpAsText(); 23 testRunner.dumpAsText();
24 testRunner.waitUntilDone(); 24 testRunner.waitUntilDone();
25 setTimeout(check, 10); 25 setTimeout(check, 10);
26 document.getElementsByTagName('input')[1].click(); 26 document.getElementsByTagName('input')[1].click();
27 } else { 27 } else {
28 debug('Click the submit button. The test passes if the browser doesn\'t cra sh.'); 28 debug('Click the submit button. The test passes if the browser doesn\'t cra sh.');
29 } 29 }
30 30
31 </script> 31 </script>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698