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

Side by Side Diff: LayoutTests/gamepad/gamepad-api-expected.txt

Issue 808643005: Sync Navigator.getGamepads() with the spec Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE WARNING: 'navigator.webkitGetGamepads' is deprecated. Please use 'naviga tor.getGamepads' instead. 1 CONSOLE WARNING: 'navigator.webkitGetGamepads' is deprecated. Please use 'naviga tor.getGamepads' instead.
2 Validates the exposed Gamepad API. 2 Validates the exposed Gamepad API.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS navigator.webkitGetGamepads is defined. 7 PASS navigator.webkitGetGamepads is defined.
8 PASS navigator.getGamepads is defined. 8 PASS navigator.getGamepads is defined.
9 PASS GamepadEvent is defined. 9 PASS GamepadEvent is defined.
10 PASS webkitGamepads.length is 4 10 PASS webkitGamepads.length is 4
11 PASS webkitGamepads[0] is undefined. 11 PASS webkitGamepads[0] is undefined.
12 PASS webkitGamepads.item.__proto__ is Function.prototype 12 PASS webkitGamepads.item.__proto__ is Function.prototype
13 PASS webkitGamepads.item(0) is null 13 PASS webkitGamepads.item(0) is null
14 PASS gamepads.length is 4 14 PASS gamepads is an instance of Array
15 PASS gamepads[0] is undefined. 15 PASS gamepads.length is 0
16 PASS gamepads.item.__proto__ is Function.prototype 16 PASS navigator.getGamepads() === navigator.getGamepads() is false
17 PASS gamepads.item(0) is null
18 PASS gamepad is non-null. 17 PASS gamepad is non-null.
19 PASS gamepad.connected is true 18 PASS gamepad.connected is true
20 PASS gamepad.__proto__ is WebKitGamepad.prototype 19 PASS gamepad.__proto__ is WebKitGamepad.prototype
21 PASS gamepad.id.__proto__ is String.prototype 20 PASS gamepad.id.__proto__ is String.prototype
22 PASS gamepad.connected.__proto__ is Boolean.prototype 21 PASS gamepad.connected.__proto__ is Boolean.prototype
23 PASS gamepad.index.__proto__ is Number.prototype 22 PASS gamepad.index.__proto__ is Number.prototype
24 PASS gamepad.timestamp.__proto__ is Number.prototype 23 PASS gamepad.timestamp.__proto__ is Number.prototype
25 PASS gamepad.axes.__proto__ is Array.prototype 24 PASS gamepad.axes.__proto__ is Array.prototype
26 PASS gamepad.axes[0].__proto__ is Number.prototype 25 PASS gamepad.axes[0].__proto__ is Number.prototype
27 PASS gamepad.buttons.__proto__ is Array.prototype 26 PASS gamepad.buttons.__proto__ is Array.prototype
28 PASS gamepad.buttons[0].__proto__ is Number.prototype 27 PASS gamepad.buttons[0].__proto__ is Number.prototype
29 PASS gamepad is non-null. 28 PASS gamepad is non-null.
30 PASS gamepad.connected is true 29 PASS gamepad.connected is true
31 PASS gamepad.__proto__ is Gamepad.prototype 30 PASS gamepad.__proto__ is Gamepad.prototype
32 PASS gamepad.id.__proto__ is String.prototype 31 PASS gamepad.id.__proto__ is String.prototype
33 PASS gamepad.connected.__proto__ is Boolean.prototype 32 PASS gamepad.connected.__proto__ is Boolean.prototype
34 PASS gamepad.index.__proto__ is Number.prototype 33 PASS gamepad.index.__proto__ is Number.prototype
35 PASS gamepad.timestamp.__proto__ is Number.prototype 34 PASS gamepad.timestamp.__proto__ is Number.prototype
36 PASS gamepad.axes.__proto__ is Array.prototype 35 PASS gamepad.axes.__proto__ is Array.prototype
37 PASS gamepad.axes[0].__proto__ is Number.prototype 36 PASS gamepad.axes[0].__proto__ is Number.prototype
38 PASS gamepad.buttons.__proto__ is Array.prototype 37 PASS gamepad.buttons.__proto__ is Array.prototype
39 PASS gamepad.buttons[0].pressed.__proto__ is Boolean.prototype 38 PASS gamepad.buttons[0].pressed.__proto__ is Boolean.prototype
40 PASS gamepad.buttons[0].value.__proto__ is Number.prototype 39 PASS gamepad.buttons[0].value.__proto__ is Number.prototype
41 PASS gamepad.mapping.__proto__ is String.prototype 40 PASS gamepad.mapping.__proto__ is String.prototype
42 PASS successfullyParsed is true 41 PASS successfullyParsed is true
43 42
44 TEST COMPLETE 43 TEST COMPLETE
45 44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698