| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 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 <script> | 7 <script> |
| 8 description("This tests keyboard events with KeyLocationCode argument."); | 8 description("This tests keyboard events with KeyLocationCode argument."); |
| 9 | 9 |
| 10 var lastKeyboardEvent; | 10 var lastKeyboardEvent; |
| 11 var VK_SHIFT = 16; | 11 var VK_SHIFT = 16; |
| 12 var VK_CONTROL = 17; | 12 var VK_CONTROL = 17; |
| 13 var VK_MENU = 18; | 13 var VK_MENU = 18; |
| 14 | 14 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 testKeyEventWithLocation("rightShift", VK_SHIFT, "KeyboardEvent.DOM_KEY_LOCA
TION_RIGHT"); | 49 testKeyEventWithLocation("rightShift", VK_SHIFT, "KeyboardEvent.DOM_KEY_LOCA
TION_RIGHT"); |
| 50 testKeyEventWithLocation("rightControl", VK_CONTROL, "KeyboardEvent.DOM_KEY_
LOCATION_RIGHT"); | 50 testKeyEventWithLocation("rightControl", VK_CONTROL, "KeyboardEvent.DOM_KEY_
LOCATION_RIGHT"); |
| 51 testKeyEventWithLocation("rightAlt", VK_MENU, "KeyboardEvent.DOM_KEY_LOCATIO
N_RIGHT"); | 51 testKeyEventWithLocation("rightAlt", VK_MENU, "KeyboardEvent.DOM_KEY_LOCATIO
N_RIGHT"); |
| 52 } else { | 52 } else { |
| 53 debug("This test requires DumpRenderTree."); | 53 debug("This test requires DumpRenderTree."); |
| 54 } | 54 } |
| 55 </script> | 55 </script> |
| 56 </body> | 56 </body> |
| 57 </html> | 57 </html> |
| OLD | NEW |