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

Side by Side Diff: LayoutTests/gamepad/gamepad-polling-access-expected.txt

Issue 13933014: Gen index getter by unified way instead of using several helper function in some special cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: removed debug printf Created 7 years, 8 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
1 PASS navigator.webkitGetGamepads().length is 4 1 PASS navigator.webkitGetGamepads().length is 4
2 PASS navigator.webkitGetGamepads().item(0) is null 2 PASS navigator.webkitGetGamepads().item(0) is null
3 PASS navigator.webkitGetGamepads().item(1) is null 3 PASS navigator.webkitGetGamepads().item(1) is null
4 PASS navigator.webkitGetGamepads().item(2) is null 4 PASS navigator.webkitGetGamepads().item(2) is null
5 PASS navigator.webkitGetGamepads().item(3) is null 5 PASS navigator.webkitGetGamepads().item(3) is null
6 PASS navigator.webkitGetGamepads()[0] is null 6 PASS navigator.webkitGetGamepads()[0] is undefined.
7 PASS navigator.webkitGetGamepads()[1] is null 7 PASS navigator.webkitGetGamepads()[1] is undefined.
8 PASS navigator.webkitGetGamepads()[2] is null 8 PASS navigator.webkitGetGamepads()[2] is undefined.
9 PASS navigator.webkitGetGamepads()[3] is null 9 PASS navigator.webkitGetGamepads()[3] is undefined.
10 PASS navigator.webkitGetGamepads()[0] is non-null. 10 PASS navigator.webkitGetGamepads()[0] is non-null.
11 PASS navigator.webkitGetGamepads().item(0) is null 11 PASS navigator.webkitGetGamepads().item(0) is null
12 PASS navigator.webkitGetGamepads()[0] is null 12 PASS navigator.webkitGetGamepads()[0] is undefined.
13 PASS navigator.webkitGetGamepads()[0].id is 'MockStick 3000' 13 PASS navigator.webkitGetGamepads()[0].id is 'MockStick 3000'
14 PASS navigator.webkitGetGamepads()[0].buttons.length is 2 14 PASS navigator.webkitGetGamepads()[0].buttons.length is 2
15 PASS navigator.webkitGetGamepads()[0].axes.length is 2 15 PASS navigator.webkitGetGamepads()[0].axes.length is 2
16 PASS navigator.webkitGetGamepads()[0].buttons[0] is 1.0 16 PASS navigator.webkitGetGamepads()[0].buttons[0] is 1.0
17 PASS navigator.webkitGetGamepads()[0].buttons[1] is 0.0 17 PASS navigator.webkitGetGamepads()[0].buttons[1] is 0.0
18 PASS navigator.webkitGetGamepads()[0].axes.length is 2 18 PASS navigator.webkitGetGamepads()[0].axes.length is 2
19 PASS navigator.webkitGetGamepads()[0].axes[0] is 0.5 19 PASS navigator.webkitGetGamepads()[0].axes[0] is 0.5
20 PASS navigator.webkitGetGamepads()[0].axes[1] is -1.0 20 PASS navigator.webkitGetGamepads()[0].axes[1] is -1.0
21 PASS successfullyParsed is true 21 PASS successfullyParsed is true
22 22
23 TEST COMPLETE 23 TEST COMPLETE
24 Typical polling access to gamepads contents. 24 Typical polling access to gamepads contents.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698