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

Unified Diff: LayoutTests/gamepad/gamepad-api-expected.txt

Issue 212813008: Gamepad API: tests for gamepad events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: check prototypes Created 6 years, 9 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-api.html ('k') | LayoutTests/gamepad/gamepad-events-basic.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/gamepad/gamepad-api-expected.txt
diff --git a/LayoutTests/gamepad/gamepad-api-expected.txt b/LayoutTests/gamepad/gamepad-api-expected.txt
index 6de3573b6d073e83f55b5db081b06f3c6c13dbe5..386781ff29844aa4cb8a5082fa16159e55b4d2e3 100644
--- a/LayoutTests/gamepad/gamepad-api-expected.txt
+++ b/LayoutTests/gamepad/gamepad-api-expected.txt
@@ -1,6 +1,45 @@
+CONSOLE WARNING: 'navigator.webkitGetGamepads' is deprecated. Please use 'navigator.getGamepads' instead.
+Validates the exposed Gamepad API.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
PASS navigator.webkitGetGamepads is defined.
PASS navigator.getGamepads is defined.
+PASS GamepadEvent is defined.
+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 gamepad is non-null.
+PASS gamepad.connected is true
+PASS gamepad.__proto__ is WebKitGamepad.prototype
+PASS gamepad.id.__proto__ is String.prototype
+PASS gamepad.connected.__proto__ is Boolean.prototype
+PASS gamepad.index.__proto__ is Number.prototype
+PASS gamepad.timestamp.__proto__ is Number.prototype
+PASS gamepad.axes.__proto__ is Array.prototype
+PASS gamepad.axes[0].__proto__ is Number.prototype
+PASS gamepad.buttons.__proto__ is Array.prototype
+PASS gamepad.buttons[0].__proto__ is Number.prototype
+PASS gamepad is non-null.
+PASS gamepad.connected is true
+PASS gamepad.__proto__ is Gamepad.prototype
+PASS gamepad.id.__proto__ is String.prototype
+PASS gamepad.connected.__proto__ is Boolean.prototype
+PASS gamepad.index.__proto__ is Number.prototype
+PASS gamepad.timestamp.__proto__ is Number.prototype
+PASS gamepad.axes.__proto__ is Array.prototype
+PASS gamepad.axes[0].__proto__ is Number.prototype
+PASS gamepad.buttons.__proto__ is Array.prototype
+PASS gamepad.buttons[0].pressed.__proto__ is Boolean.prototype
+PASS gamepad.buttons[0].value.__proto__ is Number.prototype
+PASS gamepad.mapping.__proto__ is String.prototype
PASS successfullyParsed is true
TEST COMPLETE
-Make sure the main polling access point exists on navigator.
+
« no previous file with comments | « LayoutTests/gamepad/gamepad-api.html ('k') | LayoutTests/gamepad/gamepad-events-basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698