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

Side by Side Diff: LayoutTests/fast/forms/date/input-date-validation-message.html

Issue 48903019: Delete js-test-post.js. (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="../../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Test for validationMessage IDL attribute for &lt;input type=date>') ; 8 description('Test for validationMessage IDL attribute for &lt;input type=date>') ;
9 var parent = document.createElement('div'); 9 var parent = document.createElement('div');
10 document.body.appendChild(parent); 10 document.body.appendChild(parent);
(...skipping 23 matching lines...) Expand all
34 debug('Range overflow') 34 debug('Range overflow')
35 shouldBeEqualToString('testIt("1982-11-02", "", "1970-12-31")', 'Value must be 1 2/31/1970 or earlier.'); 35 shouldBeEqualToString('testIt("1982-11-02", "", "1970-12-31")', 'Value must be 1 2/31/1970 or earlier.');
36 36
37 debug('Range underflow') 37 debug('Range underflow')
38 shouldBeEqualToString('testIt("1982-11-02", "1990-05-25", "1990-12-24")', 'Value must be 05/25/1990 or later.'); 38 shouldBeEqualToString('testIt("1982-11-02", "1990-05-25", "1990-12-24")', 'Value must be 05/25/1990 or later.');
39 39
40 debug('Step mismatch') 40 debug('Step mismatch')
41 shouldBeEqualToString('testIt("1982-11-02", "", "", "123")', 'Please enter a val id value. The two nearest valid values are 07/07/1982 and 11/07/1982.'); 41 shouldBeEqualToString('testIt("1982-11-02", "", "", "123")', 'Please enter a val id value. The two nearest valid values are 07/07/1982 and 11/07/1982.');
42 42
43 </script> 43 </script>
44 <script src="../../../fast/js/resources/js-test-post.js"></script>
45 </body> 44 </body>
46 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698