1 This tests the constructor for the GamepadEvent DOM class.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS new GamepadEvent('eventType').bubbles is false
7 PASS new GamepadEvent('eventType').cancelable is false
8 PASS new GamepadEvent('eventType').gamepad is null
9 PASS new GamepadEvent('eventType', { bubbles: false }).bubbles is false
10 PASS new GamepadEvent('eventType', { bubbles: true }).bubbles is true
11 PASS new GamepadEvent('eventType', { cancelable: false }).cancelable is false
12 PASS new GamepadEvent('eventType', { cancelable: true }).cancelable is true
13 PASS new GamepadEvent('eventType', { gamepad: gamepad }).gamepad is gamepad
14 PASS successfullyParsed is true