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

Unified Diff: third_party/WebKit/LayoutTests/gamepad/gamepad-api.html

Issue 2341723002: binding: Indexed property returns undefined if out-of-range. (Closed)
Patch Set: Updated layout test expectations. Created 4 years, 3 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: third_party/WebKit/LayoutTests/gamepad/gamepad-api.html
diff --git a/third_party/WebKit/LayoutTests/gamepad/gamepad-api.html b/third_party/WebKit/LayoutTests/gamepad/gamepad-api.html
index 5eb03436ecf700499854495db67ca2034cc29b42..43dbb6a730d2fbaa0e50b5caef66198be998f506 100644
--- a/third_party/WebKit/LayoutTests/gamepad/gamepad-api.html
+++ b/third_party/WebKit/LayoutTests/gamepad/gamepad-api.html
@@ -9,7 +9,7 @@
gamepads = navigator.getGamepads();
shouldBe("gamepads.length", "4");
- shouldBeUndefined("gamepads[0]");
+ shouldBeNull("gamepads[0]");
shouldBe("gamepads.item.__proto__", "Function.prototype")
shouldBeNull("gamepads.item(0)");

Powered by Google App Engine
This is Rietveld 408576698