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 <script src="../../forms/resources/picker-common.js"></script> | 5 <script src="../../forms/resources/picker-common.js"></script> |
6 <script src="resources/calendar-picker-common.js"></script> | 6 <script src="resources/calendar-picker-common.js"></script> |
7 </head> | 7 </head> |
8 <body> | 8 <body> |
9 <p id="description"></p> | 9 <p id="description"></p> |
10 <div id="console"></div> | 10 <div id="console"></div> |
11 <input type="datetime-local" id="input" value="2000-01-01T17:49"> | 11 <input type="datetime-local" id="input" value="2000-01-01T17:49"> |
12 | 12 |
13 <script> | 13 <script> |
14 description('Test if change event fires when the user selects the default value
after the value was changed by JS.'); | 14 description('Test if change event fires when the user selects the default value
after the value was changed by JS.'); |
(...skipping 24 matching lines...) Expand all Loading... |
39 shouldBeEqualToString('input.value', '2000-01-01T17:49'); | 39 shouldBeEqualToString('input.value', '2000-01-01T17:49'); |
40 | 40 |
41 shouldBe('eventsCounter.input', '1'); | 41 shouldBe('eventsCounter.input', '1'); |
42 shouldBe('eventsCounter.change', '1'); | 42 shouldBe('eventsCounter.change', '1'); |
43 | 43 |
44 finishJSTest(); | 44 finishJSTest(); |
45 } | 45 } |
46 </script> | 46 </script> |
47 </body> | 47 </body> |
48 </html> | 48 </html> |
OLD | NEW |