Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Side by Side Diff: LayoutTests/gamepad/gamepad-events-basic-expected.txt

Issue 212813008: Gamepad API: tests for gamepad events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Gamepad connected
2 PASS event.gamepad.id is 'MockStick 3000'
3 PASS event.gamepad.buttons.length is 2
4 PASS event.gamepad.axes.length is 2
5 PASS event.gamepad.buttons[0].value is 1.0
6 PASS event.gamepad.buttons[0].pressed is true
7 PASS event.gamepad.buttons[1].value is 0.0
8 PASS event.gamepad.buttons[1].pressed is false
9 PASS event.gamepad.axes.length is 2
10 PASS event.gamepad.axes[0] is 0.5
11 PASS event.gamepad.axes[1] is -1.0
12 Gamepad disconnected
13 PASS event.gamepad.id is 'MockStick 3000'
14 PASS event.gamepad.buttons.length is 2
15 PASS event.gamepad.axes.length is 2
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19 Basic test for 'gamepadconnected' and 'gamepaddisconnected' events.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698