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

Unified Diff: LayoutTests/gamepad/gamepad-polling-access-expected.txt

Issue 13933014: Gen index getter by unified way instead of using several helper function in some special cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: removed debug printf Created 7 years, 8 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
Index: LayoutTests/gamepad/gamepad-polling-access-expected.txt
diff --git a/LayoutTests/gamepad/gamepad-polling-access-expected.txt b/LayoutTests/gamepad/gamepad-polling-access-expected.txt
index 5fe1d1ade8a2ae9581c96545d6910cf1308965ed..fcc22438cc601e9d981c94b26321f6803ffaac12 100644
--- a/LayoutTests/gamepad/gamepad-polling-access-expected.txt
+++ b/LayoutTests/gamepad/gamepad-polling-access-expected.txt
@@ -3,13 +3,13 @@ PASS navigator.webkitGetGamepads().item(0) is null
PASS navigator.webkitGetGamepads().item(1) is null
PASS navigator.webkitGetGamepads().item(2) is null
PASS navigator.webkitGetGamepads().item(3) is null
-PASS navigator.webkitGetGamepads()[0] is null
-PASS navigator.webkitGetGamepads()[1] is null
-PASS navigator.webkitGetGamepads()[2] is null
-PASS navigator.webkitGetGamepads()[3] is null
+PASS navigator.webkitGetGamepads()[0] is undefined.
+PASS navigator.webkitGetGamepads()[1] is undefined.
+PASS navigator.webkitGetGamepads()[2] is undefined.
+PASS navigator.webkitGetGamepads()[3] is undefined.
PASS navigator.webkitGetGamepads()[0] is non-null.
PASS navigator.webkitGetGamepads().item(0) is null
-PASS navigator.webkitGetGamepads()[0] is null
+PASS navigator.webkitGetGamepads()[0] is undefined.
PASS navigator.webkitGetGamepads()[0].id is 'MockStick 3000'
PASS navigator.webkitGetGamepads()[0].buttons.length is 2
PASS navigator.webkitGetGamepads()[0].axes.length is 2

Powered by Google App Engine
This is Rietveld 408576698