Work on the Gamepad API testing investigation effort for Interop 2025.
The goal of an interop focus area is to demonstrate improved interoperability by increasing the pass rates of automated web platform tests on participating browsers. To qualify for an interop focus area, a feature needs good enough test coverage to enable interoperability improvements to be scored using test results.
An investigation effort is a set of tasks that will bring the corresponding feature up to the bar that's required for it to possibly become a focus area in the future.
For context, this investigation effort arose from a rejected focus area proposal. This investigation effort is scoped to only the Gamepad API and is focused on improving test coverage rather than fixing existing tests.
https://w3c.github.io/gamepad/
https://github.com/web-platform-tests/wpt/tree/master/gamepad
Add a means to test the API #175
Most of Gamepad API cannot be tested by automated web platform tests. The API does not expose any information about connected gamepads until a gamepad user gesture is detected, and there is currently no way to simulate this gesture in tests. Once the gesture is detected, tests also need a way to simulate other gamepad interactions (connect, disconnect, buttons, axes, touch, vibration).
WebKit | Chromium | Gecko | Nvidia |
---|---|---|---|
@marcoscaceres | @nondebug | @xingri |