OLD | NEW |
---|---|
1 CONSOLE WARNING: 'navigator.webkitGetGamepads' is deprecated. Please use the unp refixed 'navigator.getGamepads' method instead. | |
Nils Barth (inactive)
2014/03/13 02:40:17
This needs a reset: ("unprefixed" was removed).
ru
| |
1 PASS navigator.webkitGetGamepads().length is 4 | 2 PASS navigator.webkitGetGamepads().length is 4 |
2 PASS navigator.webkitGetGamepads().item(0) is null | 3 PASS navigator.webkitGetGamepads().item(0) is null |
3 PASS navigator.webkitGetGamepads().item(1) is null | 4 PASS navigator.webkitGetGamepads().item(1) is null |
4 PASS navigator.webkitGetGamepads().item(2) is null | 5 PASS navigator.webkitGetGamepads().item(2) is null |
5 PASS navigator.webkitGetGamepads().item(3) is null | 6 PASS navigator.webkitGetGamepads().item(3) is null |
6 PASS navigator.webkitGetGamepads()[0] is undefined. | 7 PASS navigator.webkitGetGamepads()[0] is undefined. |
7 PASS navigator.webkitGetGamepads()[1] is undefined. | 8 PASS navigator.webkitGetGamepads()[1] is undefined. |
8 PASS navigator.webkitGetGamepads()[2] is undefined. | 9 PASS navigator.webkitGetGamepads()[2] is undefined. |
9 PASS navigator.webkitGetGamepads()[3] is undefined. | 10 PASS navigator.webkitGetGamepads()[3] is undefined. |
11 PASS navigator.getGamepads().length is 4 | |
12 PASS navigator.getGamepads().item(0) is null | |
13 PASS navigator.getGamepads().item(1) is null | |
14 PASS navigator.getGamepads().item(2) is null | |
15 PASS navigator.getGamepads().item(3) is null | |
16 PASS navigator.getGamepads()[0] is undefined. | |
17 PASS navigator.getGamepads()[1] is undefined. | |
18 PASS navigator.getGamepads()[2] is undefined. | |
19 PASS navigator.getGamepads()[3] is undefined. | |
10 PASS navigator.webkitGetGamepads()[0] is non-null. | 20 PASS navigator.webkitGetGamepads()[0] is non-null. |
21 PASS navigator.getGamepads()[0] is non-null. | |
11 PASS navigator.webkitGetGamepads().item(0) is null | 22 PASS navigator.webkitGetGamepads().item(0) is null |
12 PASS navigator.webkitGetGamepads()[0] is undefined. | 23 PASS navigator.webkitGetGamepads()[0] is undefined. |
24 PASS navigator.getGamepads().item(0) is null | |
25 PASS navigator.getGamepads()[0] is undefined. | |
13 PASS navigator.webkitGetGamepads()[0].id is 'MockStick 3000' | 26 PASS navigator.webkitGetGamepads()[0].id is 'MockStick 3000' |
14 PASS navigator.webkitGetGamepads()[0].buttons.length is 2 | 27 PASS navigator.webkitGetGamepads()[0].buttons.length is 2 |
15 PASS navigator.webkitGetGamepads()[0].axes.length is 2 | 28 PASS navigator.webkitGetGamepads()[0].axes.length is 2 |
16 PASS navigator.webkitGetGamepads()[0].buttons[0] is 1.0 | 29 PASS navigator.webkitGetGamepads()[0].buttons[0] is 1.0 |
17 PASS navigator.webkitGetGamepads()[0].buttons[1] is 0.0 | 30 PASS navigator.webkitGetGamepads()[0].buttons[1] is 0.0 |
18 PASS navigator.webkitGetGamepads()[0].axes.length is 2 | 31 PASS navigator.webkitGetGamepads()[0].axes.length is 2 |
19 PASS navigator.webkitGetGamepads()[0].axes[0] is 0.5 | 32 PASS navigator.webkitGetGamepads()[0].axes[0] is 0.5 |
20 PASS navigator.webkitGetGamepads()[0].axes[1] is -1.0 | 33 PASS navigator.webkitGetGamepads()[0].axes[1] is -1.0 |
34 PASS navigator.getGamepads()[0].id is 'MockStick 3000' | |
35 PASS navigator.getGamepads()[0].buttons.length is 2 | |
36 PASS navigator.getGamepads()[0].axes.length is 2 | |
37 PASS navigator.getGamepads()[0].buttons[0].value is 1.0 | |
38 PASS navigator.getGamepads()[0].buttons[0].pressed is true | |
39 PASS navigator.getGamepads()[0].buttons[1].value is 0.0 | |
40 PASS navigator.getGamepads()[0].buttons[1].pressed is false | |
41 PASS navigator.getGamepads()[0].axes.length is 2 | |
42 PASS navigator.getGamepads()[0].axes[0] is 0.5 | |
43 PASS navigator.getGamepads()[0].axes[1] is -1.0 | |
21 PASS successfullyParsed is true | 44 PASS successfullyParsed is true |
22 | 45 |
23 TEST COMPLETE | 46 TEST COMPLETE |
24 Typical polling access to gamepads contents. | 47 Typical polling access to gamepads contents. |
OLD | NEW |