| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../../resources/js-test.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="../resources/common.js"></script> | 5 <script src="../resources/common.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p id="description"></p> | 8 <p id="description"></p> |
| 9 <div id="console"></div> | 9 <div id="console"></div> |
| 10 <input type="time" id="input" value="01:01:01"> | 10 <input type="time" id="input" value="01:01:01"> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 input.value = '02:01:01'; | 26 input.value = '02:01:01'; |
| 27 | 27 |
| 28 shouldBeEqualToString('input.value', '02:01:01'); | 28 shouldBeEqualToString('input.value', '02:01:01'); |
| 29 shouldBeUndefined('eventsCounter.input'); | 29 shouldBeUndefined('eventsCounter.input'); |
| 30 shouldBeUndefined('eventsCounter.change'); | 30 shouldBeUndefined('eventsCounter.change'); |
| 31 | 31 |
| 32 // We assume the date format is h:m a. | 32 // We assume the date format is h:m a. |
| 33 | 33 |
| 34 input.focus(); | 34 input.focus(); |
| 35 eventSender.keyDown('downArrow'); | 35 eventSender.keyDown('ArrowDown'); |
| 36 | 36 |
| 37 shouldBeEqualToString('input.value', '01:01:01'); | 37 shouldBeEqualToString('input.value', '01:01:01'); |
| 38 shouldBe('eventsCounter.input', '1'); | 38 shouldBe('eventsCounter.input', '1'); |
| 39 shouldBe('eventsCounter.change', '1'); | 39 shouldBe('eventsCounter.change', '1'); |
| 40 | 40 |
| 41 </script> | 41 </script> |
| 42 </body> | 42 </body> |
| 43 </html> | 43 </html> |
| OLD | NEW |