You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pass WPT tests for Gamepad and catch up to spec #31362
Once #31200 merges Servo will finally have the ability to use non-XR gamepads. However, there's still work remaining to be fully spec compliant and pass all the existing WPTs. The following tests currently still expect fails:
gamepad-default-feature-policy
Fails due to the "allow" directive not being supported
gamepad-supported-by-feature-policy
Fails because it expects document.featurePolicy to exist. Feature Policy has been succeeded by Permissions Policy however, so what really needs to happen is for the test to be changed/updated.
idlharness-extensions
Fails due to missing implementations for GamepadTouch and GamepadHapticActuator
idlharness
Fails due to missing GamepadTouch interfaces
The following are the tasks necessary to fix these and be fully spec-compliant:
Activity
msub2 commentedon Feb 21, 2024
No longer need to worry about secure context, removing it from the list
[-]Pass WPT tests for Gamepad[/-][+]Pass WPT tests for Gamepad and catch up to spec[/+]buttonsshould be Array, but is GamepadList instead #44333axesshould be array, but is Float64Array instead #44336buttonsdoes not include the DualShock 4's clickable touchpad #44334