| OLD | NEW |
| 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="../../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p id="description"></p> | 7 <p id="description"></p> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 <script> | 9 <script> |
| 10 description('Check stepMismatch results for type=datetime-local.'); | 10 description('Check stepMismatch results for type=datetime-local.'); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 debug('Invalid or no step values'); | 45 debug('Invalid or no step values'); |
| 46 shouldBeFalse('stepMismatchFor("2010-02-10T12:34", null, "2010-02-09T12:34")'); | 46 shouldBeFalse('stepMismatchFor("2010-02-10T12:34", null, "2010-02-09T12:34")'); |
| 47 shouldBeTrue('stepMismatchFor("2010-02-10T12:34:56", null, "2010-02-09T12:34")')
; | 47 shouldBeTrue('stepMismatchFor("2010-02-10T12:34:56", null, "2010-02-09T12:34")')
; |
| 48 shouldBeFalse('stepMismatchFor("2010-02-10T12:34", "-1", "2010-02-09T12:34")'); | 48 shouldBeFalse('stepMismatchFor("2010-02-10T12:34", "-1", "2010-02-09T12:34")'); |
| 49 shouldBeFalse('stepMismatchFor("2010-02-10T12:34", "foo", "2010-02-09T12:34")'); | 49 shouldBeFalse('stepMismatchFor("2010-02-10T12:34", "foo", "2010-02-09T12:34")'); |
| 50 debug('Special step value'); | 50 debug('Special step value'); |
| 51 shouldBeFalse('stepMismatchFor("2010-02-09T12:34", "any", "2010-02-09T12:34")'); | 51 shouldBeFalse('stepMismatchFor("2010-02-09T12:34", "any", "2010-02-09T12:34")'); |
| 52 debug('Disabled'); | 52 debug('Disabled'); |
| 53 shouldBeFalse('stepMismatchFor("2010-02-09T12:34:55.001", "1", "2010-02-09T12:34
:56", true)'); | 53 shouldBeFalse('stepMismatchFor("2010-02-09T12:34:55.001", "1", "2010-02-09T12:34
:56", true)'); |
| 54 </script> | 54 </script> |
| 55 <script src="../../js/resources/js-test-post.js"></script> | |
| 56 </body> | 55 </body> |
| 57 </html> | 56 </html> |
| OLD | NEW |