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

Side by Side Diff: third_party/WebKit/LayoutTests/gamepad/gamepad-api-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 Validates the exposed Gamepad API. 1 Validates the exposed Gamepad API.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS navigator.getGamepads is defined. 6 PASS navigator.getGamepads is defined.
7 PASS GamepadEvent is defined. 7 PASS GamepadEvent is defined.
8 PASS gamepads.length is 4 8 PASS gamepads.length is 4
9 PASS gamepads[0] is undefined. 9 PASS gamepads[0] is null
10 PASS gamepads.item.__proto__ is Function.prototype 10 PASS gamepads.item.__proto__ is Function.prototype
11 PASS gamepads.item(0) is null 11 PASS gamepads.item(0) is null
12 PASS gamepad is non-null. 12 PASS gamepad is non-null.
13 PASS gamepad.connected is true 13 PASS gamepad.connected is true
14 PASS gamepad.__proto__ is Gamepad.prototype 14 PASS gamepad.__proto__ is Gamepad.prototype
15 PASS gamepad.id.__proto__ is String.prototype 15 PASS gamepad.id.__proto__ is String.prototype
16 PASS gamepad.connected.__proto__ is Boolean.prototype 16 PASS gamepad.connected.__proto__ is Boolean.prototype
17 PASS gamepad.index.__proto__ is Number.prototype 17 PASS gamepad.index.__proto__ is Number.prototype
18 PASS gamepad.timestamp.__proto__ is Number.prototype 18 PASS gamepad.timestamp.__proto__ is Number.prototype
19 PASS gamepad.axes.__proto__ is Array.prototype 19 PASS gamepad.axes.__proto__ is Array.prototype
20 PASS gamepad.axes[0].__proto__ is Number.prototype 20 PASS gamepad.axes[0].__proto__ is Number.prototype
21 PASS gamepad.buttons.__proto__ is Array.prototype 21 PASS gamepad.buttons.__proto__ is Array.prototype
22 PASS gamepad.buttons[0].pressed.__proto__ is Boolean.prototype 22 PASS gamepad.buttons[0].pressed.__proto__ is Boolean.prototype
23 PASS gamepad.buttons[0].value.__proto__ is Number.prototype 23 PASS gamepad.buttons[0].value.__proto__ is Number.prototype
24 PASS gamepad.mapping.__proto__ is String.prototype 24 PASS gamepad.mapping.__proto__ is String.prototype
25 PASS successfullyParsed is true 25 PASS successfullyParsed is true
26 26
27 TEST COMPLETE 27 TEST COMPLETE
28 28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698