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

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

Issue 806993002: Removed deprecated navigator.webkitGetGamepads. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Missed one layout test expectations update 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 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 9d342514ffbbeca5a1bf4fdcbfeb402a30e65f61..15d54ce40ab1efb55871ea2ff48a8fb8ea77ffb4 100644
--- a/LayoutTests/gamepad/gamepad-polling-access-expected.txt
+++ b/LayoutTests/gamepad/gamepad-polling-access-expected.txt
@@ -1,13 +1,3 @@
-CONSOLE WARNING: 'navigator.webkitGetGamepads' is deprecated. Please use 'navigator.getGamepads' instead.
-PASS navigator.webkitGetGamepads().length is 4
-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 undefined.
-PASS navigator.webkitGetGamepads()[1] is undefined.
-PASS navigator.webkitGetGamepads()[2] is undefined.
-PASS navigator.webkitGetGamepads()[3] is undefined.
PASS navigator.getGamepads().length is 4
PASS navigator.getGamepads().item(0) is null
PASS navigator.getGamepads().item(1) is null
@@ -17,20 +7,9 @@ PASS navigator.getGamepads()[0] is undefined.
PASS navigator.getGamepads()[1] is undefined.
PASS navigator.getGamepads()[2] is undefined.
PASS navigator.getGamepads()[3] is undefined.
-PASS navigator.webkitGetGamepads()[0] is non-null.
PASS navigator.getGamepads()[0] is non-null.
-PASS navigator.webkitGetGamepads().item(0) is null
-PASS navigator.webkitGetGamepads()[0] is undefined.
PASS navigator.getGamepads().item(0) is null
PASS navigator.getGamepads()[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
-PASS navigator.webkitGetGamepads()[0].buttons[0] is 1.0
-PASS navigator.webkitGetGamepads()[0].buttons[1] is 0.0
-PASS navigator.webkitGetGamepads()[0].axes.length is 2
-PASS navigator.webkitGetGamepads()[0].axes[0] is 0.5
-PASS navigator.webkitGetGamepads()[0].axes[1] is -1.0
PASS navigator.getGamepads()[0].id is 'MockStick 3000'
PASS navigator.getGamepads()[0].buttons.length is 2
PASS navigator.getGamepads()[0].axes.length is 2

Powered by Google App Engine
This is Rietveld 408576698