Skip to content

Commit

Permalink
gamepad: Update Gamepad's definition in the idlharness tests.
Browse files Browse the repository at this point in the history
Follow-up to w3c/gamepad#62, which switched Gamepad#axes and Gamepad#buttons
to FrozenArray<>s.
  • Loading branch information
rakuco authored and Ms2ger committed Sep 13, 2017
1 parent 84024bf commit a24dde9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gamepad/idlharness-manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
readonly attribute boolean connected;
readonly attribute DOMHighResTimeStamp timestamp;
readonly attribute GamepadMappingType mapping;
readonly attribute double[] axes;
readonly attribute GamepadButton[] buttons;
readonly attribute FrozenArray<double> axes;
readonly attribute FrozenArray<GamepadButton> buttons;
};

enum GamepadMappingType {
Expand Down
4 changes: 2 additions & 2 deletions gamepad/idlharness.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
readonly attribute boolean connected;
readonly attribute DOMHighResTimeStamp timestamp;
readonly attribute GamepadMappingType mapping;
readonly attribute double[] axes;
readonly attribute GamepadButton[] buttons;
readonly attribute FrozenArray<double> axes;
readonly attribute FrozenArray<GamepadButton> buttons;
};

enum GamepadMappingType {
Expand Down

0 comments on commit a24dde9

Please sign in to comment.