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

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

Issue 280393004: Update Gamepad.axes / GamepadButton.value to match the latest specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back #ifdefs 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 | « LayoutTests/gamepad/gamepad-events-basic.html ('k') | Source/modules/gamepad/Gamepad.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/gamepad/gamepad-events-basic-expected.txt
diff --git a/LayoutTests/gamepad/gamepad-events-basic-expected.txt b/LayoutTests/gamepad/gamepad-events-basic-expected.txt
index 238c69e261031fe6de9ecf3479f021b752179f48..39ab31b332e5201da1b821ae287cf97814bacc0b 100644
--- a/LayoutTests/gamepad/gamepad-events-basic-expected.txt
+++ b/LayoutTests/gamepad/gamepad-events-basic-expected.txt
@@ -7,21 +7,24 @@ Gamepad connected
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 2
-PASS event.gamepad.axes.length is 2
+PASS event.gamepad.buttons.length is 3
+PASS event.gamepad.axes.length is 3
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 2
+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[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 2
-PASS event.gamepad.axes.length is 2
+PASS event.gamepad.buttons.length is 3
+PASS event.gamepad.axes.length is 3
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/gamepad/gamepad-events-basic.html ('k') | Source/modules/gamepad/Gamepad.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698