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="../../../resources/js-test.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=month.'); | 10 description('Check stepUp() and stepDown() bahevior for type=month.'); |
11 | 11 |
12 var input = document.createElement('input'); | 12 var input = document.createElement('input'); |
13 var invalidStateErr = '"InvalidStateError: An attempt was made to use an object
that is not, or is no longer, usable."'; | 13 var invalidStateErr = '"InvalidStateError: An attempt was made to use an object
that is not, or is no longer, usable."'; |
14 | 14 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 debug('Overflow/underflow'); | 61 debug('Overflow/underflow'); |
62 shouldThrow('stepUp("2010-02", "3.40282346e+38", null)', invalidStateErr); | 62 shouldThrow('stepUp("2010-02", "3.40282346e+38", null)', invalidStateErr); |
63 shouldThrow('stepDown("2010-02", "3.40282346e+38", null)', invalidStateErr); | 63 shouldThrow('stepDown("2010-02", "3.40282346e+38", null)', invalidStateErr); |
64 shouldThrow('stepUp("2010-02", "1", "2010-02")', invalidStateErr); | 64 shouldThrow('stepUp("2010-02", "1", "2010-02")', invalidStateErr); |
65 shouldThrow('stepDown("2010-02", "1", "2010-02")', invalidStateErr); | 65 shouldThrow('stepDown("2010-02", "1", "2010-02")', invalidStateErr); |
66 | 66 |
67 debug(''); | 67 debug(''); |
68 </script> | 68 </script> |
69 </body> | 69 </body> |
70 </html> | 70 </html> |
OLD | NEW |