blob: cd166269a811edc618f73db883360cba229a44c4 [file] [log] [blame]
This tests KeyboardEvent.getModifierState().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS event.getModifierState('Control') is false
PASS event.getModifierState('Alt') is false
PASS event.getModifierState('Shift') is false
PASS event.getModifierState('Meta') is false
PASS event.getModifierState('AltGraph') is false
PASS event.getModifierState('CapsLock') is false
PASS event.getModifierState('Control') is true
PASS event.getModifierState('Alt') is false
PASS event.getModifierState('Shift') is false
PASS event.getModifierState('Meta') is false
PASS event.getModifierState('AltGraph') is false
PASS event.getModifierState('CapsLock') is false
PASS event.getModifierState('Control') is false
PASS event.getModifierState('Alt') is true
PASS event.getModifierState('Shift') is false
PASS event.getModifierState('Meta') is false
PASS event.getModifierState('AltGraph') is false
PASS event.getModifierState('CapsLock') is false
PASS event.getModifierState('Control') is false
PASS event.getModifierState('Alt') is false
PASS event.getModifierState('Shift') is true
PASS event.getModifierState('Meta') is false
PASS event.getModifierState('AltGraph') is false
PASS event.getModifierState('CapsLock') is false
PASS event.getModifierState('Control') is false
PASS event.getModifierState('Alt') is false
PASS event.getModifierState('Shift') is false
PASS event.getModifierState('Meta') is true
PASS event.getModifierState('AltGraph') is false
PASS event.getModifierState('CapsLock') is false
PASS event.getModifierState('Control') is false
PASS event.getModifierState('Alt') is false
PASS event.getModifierState('Shift') is false
PASS event.getModifierState('Meta') is false
PASS event.getModifierState('AltGraph') is true
PASS event.getModifierState('CapsLock') is false
PASS event.getModifierState('Control') is false
PASS event.getModifierState('Alt') is false
PASS event.getModifierState('Shift') is false
PASS event.getModifierState('Meta') is false
PASS event.getModifierState('AltGraph') is false
PASS event.getModifierState('CapsLock') is true
PASS event.getModifierState('Control') is true
PASS event.getModifierState('Alt') is true
PASS event.getModifierState('Shift') is true
PASS event.getModifierState('Meta') is true
PASS event.getModifierState('AltGraph') is true
PASS event.getModifierState('CapsLock') is true
PASS successfullyParsed is true
TEST COMPLETE