| 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..a71c6e99a846d2f0c9f7ac453a139a0a491e8d54 100644
|
| --- a/LayoutTests/gamepad/gamepad-polling-access-expected.txt
|
| +++ b/LayoutTests/gamepad/gamepad-polling-access-expected.txt
|
| @@ -8,21 +8,38 @@ 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
|
| -PASS navigator.getGamepads().item(2) is null
|
| -PASS navigator.getGamepads().item(3) is null
|
| -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.getGamepads() is an instance of Array
|
| +PASS navigator.getGamepads().length is 0
|
| +PASS navigator.getGamepads().hasOwnProperty(0) is false
|
| +PASS navigator.getGamepads().hasOwnProperty(1) is false
|
| PASS navigator.webkitGetGamepads()[0] is non-null.
|
| -PASS navigator.getGamepads()[0] is non-null.
|
| +PASS navigator.getGamepads().length is 1
|
| +PASS navigator.getGamepads().hasOwnProperty(0) is true
|
| +PASS navigator.getGamepads()[0] is an instance of Gamepad
|
| +PASS navigator.getGamepads()[0].index is 0
|
| +PASS navigator.getGamepads().hasOwnProperty(1) is false
|
| +PASS navigator.webkitGetGamepads()[0] is non-null.
|
| +PASS navigator.webkitGetGamepads()[1] is non-null.
|
| +PASS navigator.getGamepads().length is 2
|
| +PASS navigator.getGamepads().hasOwnProperty(0) is true
|
| +PASS navigator.getGamepads()[0] is an instance of Gamepad
|
| +PASS navigator.getGamepads()[0].index is 0
|
| +PASS navigator.getGamepads().hasOwnProperty(1) is true
|
| +PASS navigator.getGamepads()[1] is an instance of Gamepad
|
| +PASS navigator.getGamepads()[1].index is 1
|
| +PASS navigator.webkitGetGamepads().item(0) is null
|
| +PASS navigator.webkitGetGamepads()[0] is undefined.
|
| +PASS navigator.getGamepads().length is 2
|
| +PASS navigator.getGamepads().hasOwnProperty(0) is true
|
| +PASS navigator.getGamepads()[0] is null
|
| +PASS navigator.getGamepads().hasOwnProperty(1) is true
|
| +PASS navigator.getGamepads()[1] is an instance of Gamepad
|
| +PASS navigator.getGamepads()[1].index is 1
|
| 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.getGamepads().length is 0
|
| +PASS navigator.getGamepads().hasOwnProperty(0) is false
|
| +PASS navigator.getGamepads().hasOwnProperty(1) is false
|
| PASS navigator.webkitGetGamepads()[0].id is 'MockStick 3000'
|
| PASS navigator.webkitGetGamepads()[0].buttons.length is 2
|
| PASS navigator.webkitGetGamepads()[0].axes.length is 2
|
|
|