blob: 102aabce4d3965cf3fcb24af47639bdd92b200db [file] [log] [blame]
This tests keyboard events with KeyLocationCode argument.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 33
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 34
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 36
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 35
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 37
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 39
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 38
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 40
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 45
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 46
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_STANDARD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 33
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 34
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 36
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 35
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 37
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 39
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 38
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 40
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 45
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS lastKeyboardEvent.type is "keydown"
PASS lastKeyboardEvent.keyCode is 46
PASS lastKeyboardEvent.location is KeyboardEvent.DOM_KEY_LOCATION_NUMPAD
PASS successfullyParsed is true
TEST COMPLETE