| 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 stepUp() and stepDown() bahevior for type=datetime-local.'); | 10 description('Check stepUp() and stepDown() bahevior for type=datetime-local.'); |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 shouldBe('stepDown("1970-01-01T20:13", "4", null, 3)', '"1970-01-01T20:12:48"'); | 57 shouldBe('stepDown("1970-01-01T20:13", "4", null, 3)', '"1970-01-01T20:12:48"'); |
| 58 debug('Step=any'); | 58 debug('Step=any'); |
| 59 shouldThrow('stepUp("2010-02-10T20:13", "any", null)', invalidStateErr); | 59 shouldThrow('stepUp("2010-02-10T20:13", "any", null)', invalidStateErr); |
| 60 shouldThrow('stepDown("2010-02-10T20:13", "any", null)', invalidStateErr); | 60 shouldThrow('stepDown("2010-02-10T20:13", "any", null)', invalidStateErr); |
| 61 debug('Overflow/underflow'); | 61 debug('Overflow/underflow'); |
| 62 shouldThrow('stepUp("2010-02-10T20:13", "3.40282346e+38", null)', invalidStateEr
r); | 62 shouldThrow('stepUp("2010-02-10T20:13", "3.40282346e+38", null)', invalidStateEr
r); |
| 63 shouldThrow('stepDown("2010-02-10T20:13", "3.40282346e+38", null)', invalidState
Err); | 63 shouldThrow('stepDown("2010-02-10T20:13", "3.40282346e+38", null)', invalidState
Err); |
| 64 shouldThrow('stepUp("2010-02-10T20:13", "1", "2010-02-10T20:13")', invalidStateE
rr); | 64 shouldThrow('stepUp("2010-02-10T20:13", "1", "2010-02-10T20:13")', invalidStateE
rr); |
| 65 shouldThrow('stepDown("2010-02-10T20:13", "1", "2010-02-10T20:13")', invalidStat
eErr); | 65 shouldThrow('stepDown("2010-02-10T20:13", "1", "2010-02-10T20:13")', invalidStat
eErr); |
| 66 </script> | 66 </script> |
| 67 <script src="../../js/resources/js-test-post.js"></script> | |
| 68 </body> | 67 </body> |
| 69 </html> | 68 </html> |
| OLD | NEW |