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

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

Issue 2341723002: binding: Indexed property returns undefined if out-of-range. (Closed)
Patch Set: Updated layout test expectations. Created 4 years, 3 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.getGamepads().length is 4 1 PASS navigator.getGamepads().length is 4
2 PASS navigator.getGamepads().item(0) is null 2 PASS navigator.getGamepads().item(0) is null
3 PASS navigator.getGamepads().item(1) is null 3 PASS navigator.getGamepads().item(1) is null
4 PASS navigator.getGamepads().item(2) is null 4 PASS navigator.getGamepads().item(2) is null
5 PASS navigator.getGamepads().item(3) is null 5 PASS navigator.getGamepads().item(3) is null
6 PASS navigator.getGamepads()[0] is undefined. 6 PASS navigator.getGamepads()[0] is null
7 PASS navigator.getGamepads()[1] is undefined. 7 PASS navigator.getGamepads()[1] is null
8 PASS navigator.getGamepads()[2] is undefined. 8 PASS navigator.getGamepads()[2] is null
9 PASS navigator.getGamepads()[3] is undefined. 9 PASS navigator.getGamepads()[3] is null
10 PASS navigator.getGamepads()[0] is non-null. 10 PASS navigator.getGamepads()[0] is non-null.
11 PASS navigator.getGamepads().item(0) is null 11 PASS navigator.getGamepads().item(0) is null
12 PASS navigator.getGamepads()[0] is undefined. 12 PASS navigator.getGamepads()[0] is null
13 PASS navigator.getGamepads()[0].id is 'MockStick 3000' 13 PASS navigator.getGamepads()[0].id is 'MockStick 3000'
14 PASS navigator.getGamepads()[0].buttons.length is 2 14 PASS navigator.getGamepads()[0].buttons.length is 2
15 PASS navigator.getGamepads()[0].axes.length is 2 15 PASS navigator.getGamepads()[0].axes.length is 2
16 PASS navigator.getGamepads()[0].buttons[0].value is 1.0 16 PASS navigator.getGamepads()[0].buttons[0].value is 1.0
17 PASS navigator.getGamepads()[0].buttons[0].pressed is true 17 PASS navigator.getGamepads()[0].buttons[0].pressed is true
18 PASS navigator.getGamepads()[0].buttons[1].value is 0.0 18 PASS navigator.getGamepads()[0].buttons[1].value is 0.0
19 PASS navigator.getGamepads()[0].buttons[1].pressed is false 19 PASS navigator.getGamepads()[0].buttons[1].pressed is false
20 PASS navigator.getGamepads()[0].axes.length is 2 20 PASS navigator.getGamepads()[0].axes.length is 2
21 PASS navigator.getGamepads()[0].axes[0] is 0.5 21 PASS navigator.getGamepads()[0].axes[0] is 0.5
22 PASS navigator.getGamepads()[0].axes[1] is -1.0 22 PASS navigator.getGamepads()[0].axes[1] is -1.0
23 PASS successfullyParsed is true 23 PASS successfullyParsed is true
24 24
25 TEST COMPLETE 25 TEST COMPLETE
26 Typical polling access to gamepads contents. 26 Typical polling access to gamepads contents.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698