| Index: LayoutTests/gamepad/gamepad-polling-access.html
|
| diff --git a/LayoutTests/gamepad/gamepad-polling-access.html b/LayoutTests/gamepad/gamepad-polling-access.html
|
| index 4454a5d9b2aba89b981760c1ff8fe3deea46d6eb..d5e9f6f7109a14f0de2df9d289521b615450e81b 100644
|
| --- a/LayoutTests/gamepad/gamepad-polling-access.html
|
| +++ b/LayoutTests/gamepad/gamepad-polling-access.html
|
| @@ -14,17 +14,17 @@
|
| shouldBeNull("navigator.webkitGetGamepads().item(1)");
|
| shouldBeNull("navigator.webkitGetGamepads().item(2)");
|
| shouldBeNull("navigator.webkitGetGamepads().item(3)");
|
| - shouldBeNull("navigator.webkitGetGamepads()[0]");
|
| - shouldBeNull("navigator.webkitGetGamepads()[1]");
|
| - shouldBeNull("navigator.webkitGetGamepads()[2]");
|
| - shouldBeNull("navigator.webkitGetGamepads()[3]");
|
| + shouldBeUndefined("navigator.webkitGetGamepads()[0]");
|
| + shouldBeUndefined("navigator.webkitGetGamepads()[1]");
|
| + shouldBeUndefined("navigator.webkitGetGamepads()[2]");
|
| + shouldBeUndefined("navigator.webkitGetGamepads()[3]");
|
|
|
| // connect and disconnect
|
| gamepadController.connect(0);
|
| shouldBeNonNull("navigator.webkitGetGamepads()[0]");
|
| gamepadController.disconnect(0);
|
| shouldBeNull("navigator.webkitGetGamepads().item(0)");
|
| - shouldBeNull("navigator.webkitGetGamepads()[0]");
|
| + shouldBeUndefined("navigator.webkitGetGamepads()[0]");
|
|
|
| // connect again, and check standard access
|
| gamepadController.connect(0);
|
|
|