Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / gamepad / gamepad-events-basic-expected.txt
1 Basic test for 'gamepadconnected' and 'gamepaddisconnected' events.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Gamepad connected
7 PASS event.__proto__ is GamepadEvent.prototype
8 PASS event.__proto__.__proto__ is Event.prototype
9 PASS event.gamepad.id is "MockStick 3000"
10 PASS event.gamepad.buttons.length is 2
11 PASS event.gamepad.axes.length is 2
12 PASS event.gamepad.buttons[0].value is 1.0
13 PASS event.gamepad.buttons[0].pressed is true
14 PASS event.gamepad.buttons[1].value is 0.0
15 PASS event.gamepad.buttons[1].pressed is false
16 PASS event.gamepad.axes.length is 2
17 PASS event.gamepad.axes[0] is 0.5
18 PASS event.gamepad.axes[1] is -1.0
19 Gamepad disconnected
20 PASS event.__proto__ is GamepadEvent.prototype
21 PASS event.__proto__.__proto__ is Event.prototype
22 PASS event.gamepad.id is "MockStick 3000"
23 PASS event.gamepad.buttons.length is 2
24 PASS event.gamepad.axes.length is 2
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28