| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script> | 4 <script> |
| 5 window.enablePixelTesting = true; | 5 window.enablePixelTesting = true; |
| 6 </script> | 6 </script> |
| 7 <script src="../../../resources/js-test.js"></script> | 7 <script src="../../../resources/js-test.js"></script> |
| 8 <script src="../../forms/resources/picker-common.js"></script> | 8 <script src="../../forms/resources/picker-common.js"></script> |
| 9 <script src="resources/suggestion-picker-common.js"></script> | 9 <script src="resources/suggestion-picker-common.js"></script> |
| 10 </head> | 10 </head> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 <div id="console" style="opacity: 0"></div> | 27 <div id="console" style="opacity: 0"></div> |
| 28 | 28 |
| 29 <script> | 29 <script> |
| 30 openPicker(document.getElementById('date'), finishTest, function() { | 30 openPicker(document.getElementById('date'), finishTest, function() { |
| 31 testFailed('picker didn\'t open') | 31 testFailed('picker didn\'t open') |
| 32 finishJSTest(); | 32 finishJSTest(); |
| 33 }); | 33 }); |
| 34 | 34 |
| 35 function finishTest() { | 35 function finishTest() { |
| 36 popupWindow.focus(); | 36 popupWindow.focus(); |
| 37 eventSender.keyDown('downArrow'); | 37 eventSender.keyDown('ArrowDown'); |
| 38 finishJSTest(); | 38 finishJSTest(); |
| 39 } | 39 } |
| 40 </script> | 40 </script> |
| 41 </body> | 41 </body> |
| 42 </html> | 42 </html> |
| OLD | NEW |