Change Gamepad.index to signed int to match spec.
This hasn't been an issue since Gamepads on the navigator array should always have index >= 0. However, WebXR Gamepads that are not on the navigator array must have an index of -1. Bug: 950202 Change-Id: Ia3abd606ae491cbdc738fc7a0c8fbde9eaf57e43 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1721057Reviewed-by:Matt Reynolds <mattreynolds@chromium.org> Reviewed-by:
David Dorwin <ddorwin@chromium.org> Reviewed-by:
Brandon Jones <bajones@chromium.org> Commit-Queue: Jacob DeWitt <jacde@chromium.org> Cr-Commit-Position: refs/heads/master@{#681885}
Showing
Please register or sign in to comment