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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/gamepad/gamepad-api-expected.txt
diff --git a/LayoutTests/gamepad/gamepad-api-expected.txt b/LayoutTests/gamepad/gamepad-api-expected.txt
index 386781ff29844aa4cb8a5082fa16159e55b4d2e3..7caf2af6ebce59bc4ee262b8f4d66905ba28d65d 100644
--- a/LayoutTests/gamepad/gamepad-api-expected.txt
+++ b/LayoutTests/gamepad/gamepad-api-expected.txt
@@ -11,10 +11,9 @@ PASS webkitGamepads.length is 4
PASS webkitGamepads[0] is undefined.
PASS webkitGamepads.item.__proto__ is Function.prototype
PASS webkitGamepads.item(0) is null
-PASS gamepads.length is 4
-PASS gamepads[0] is undefined.
-PASS gamepads.item.__proto__ is Function.prototype
-PASS gamepads.item(0) is null
+PASS gamepads is an instance of Array
+PASS gamepads.length is 0
+PASS navigator.getGamepads() === navigator.getGamepads() is false
PASS gamepad is non-null.
PASS gamepad.connected is true
PASS gamepad.__proto__ is WebKitGamepad.prototype

Powered by Google App Engine
This is Rietveld 408576698