| 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 <input type=date id=date value="2000-01-02"> | 9 <input type=date id=date value="2000-01-02"> |
| 10 <script> | 10 <script> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 function sendKey(input, keyName) { | 76 function sendKey(input, keyName) { |
| 77 var event = document.createEvent('KeyboardEvent'); | 77 var event = document.createEvent('KeyboardEvent'); |
| 78 event.initKeyboardEvent('keydown', true, true, document.defaultView, keyName
); | 78 event.initKeyboardEvent('keydown', true, true, document.defaultView, keyName
); |
| 79 input.dispatchEvent(event); | 79 input.dispatchEvent(event); |
| 80 } | 80 } |
| 81 </script> | 81 </script> |
| 82 <script src="../../js/resources/js-test-post.js"></script> | 82 <script src="../../js/resources/js-test-post.js"></script> |
| 83 </body> | 83 </body> |
| 84 | 84 |
| OLD | NEW |