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

Unified Diff: trunk/LayoutTests/gamepad/gamepad-events-basic-expected.txt

Issue 296723005: Revert 174428 "Update Gamepad.axes / GamepadButton.value to matc..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/LayoutTests/gamepad/gamepad-events-basic.html ('k') | trunk/Source/modules/gamepad/Gamepad.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/LayoutTests/gamepad/gamepad-events-basic-expected.txt
===================================================================
--- trunk/LayoutTests/gamepad/gamepad-events-basic-expected.txt (revision 174432)
+++ trunk/LayoutTests/gamepad/gamepad-events-basic-expected.txt (working copy)
@@ -7,24 +7,21 @@
PASS event.__proto__ is GamepadEvent.prototype
PASS event.__proto__.__proto__ is Event.prototype
PASS event.gamepad.id is "MockStick 3000"
-PASS event.gamepad.buttons.length is 3
-PASS event.gamepad.axes.length is 3
+PASS event.gamepad.buttons.length is 2
+PASS event.gamepad.axes.length is 2
PASS event.gamepad.buttons[0].value is 1.0
PASS event.gamepad.buttons[0].pressed is true
PASS event.gamepad.buttons[1].value is 0.0
PASS event.gamepad.buttons[1].pressed is false
-PASS event.gamepad.axes.length is 3
-PASS event.gamepad.buttons[2].value is 0.333333
-PASS event.gamepad.buttons[2].pressed is true
+PASS event.gamepad.axes.length is 2
PASS event.gamepad.axes[0] is 0.5
PASS event.gamepad.axes[1] is -1.0
-PASS event.gamepad.axes[2] is 0.333333
Gamepad disconnected
PASS event.__proto__ is GamepadEvent.prototype
PASS event.__proto__.__proto__ is Event.prototype
PASS event.gamepad.id is "MockStick 3000"
-PASS event.gamepad.buttons.length is 3
-PASS event.gamepad.axes.length is 3
+PASS event.gamepad.buttons.length is 2
+PASS event.gamepad.axes.length is 2
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « trunk/LayoutTests/gamepad/gamepad-events-basic.html ('k') | trunk/Source/modules/gamepad/Gamepad.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698