Skip to content

Advancing Gamepad API Test Automation #1148

Closed

Description

@xingri
  1. Motivation

The Gamepad API is essential for enabling game controllers and other input devices to interact with web applications, making it a critical component for gaming and immersive experiences on the web. However, the lack of automated test coverage currently limits consistent behavior across browsers. Comprehensive automated testing for the Gamepad API is key to ensuring interoperability, improving reliability, and increasing developer confidence.
In 2025, this effort was scoped as an investigation rather than a focus area due to the lack of automated test coverage, which is essential for scoring interoperability improvements. The rationale is outlined here.
We propose to continue the Gamepad API as an investigation effort for Interop 2026, building on the foundational work completed during the 2025 cycle.

  1. Impact
  • Cross-browser consistency: Addresses known inconsistencies in Chrome, Safari, Firefox, and Edge.
  • Developer benefit: Improves reliability for gaming and XR applications, reducing fragmentation.
  • Future readiness: Establishes the foundation for the Gamepad API to become a scored focus area in future Interop cycles.
  1. Progress in 2025

However, automated test implementations have not yet been completed, and the current coverage is still insufficient to support scoring via pass rates.

  1. Proposal for 2026

We propose to continue this as an investigation effort with the following goals:

  • Implement the automation interfaces defined in 2025.
  • Develop initial automated tests for core Gamepad API functionality.
  • Validate test behavior across major browsers.
  • Identify and document remaining spec ambiguities or implementation inconsistencies.

This continued effort will help bring the Gamepad API closer to qualifying as a focus area in future Interop cycles.

  1. Risks
  • Complexity of automation: Requires coordination across multiple engines to ensure consistent behavior.
  • Spec ambiguities: May uncover unresolved issues that need W3C discussion, but these will be documented rather than resolved within Interop.
  1. Timeline
  • Q1–Q2 2026: WebKit & Chromium Implement automation interfaces and create initial automated tests.
  • Q3 2026: Validate tests across major browsers; refine based on feedback.
  • Q4 2026: Document remaining gaps and ambiguities; prepare for potential future focus area proposal.
  1. Collaborators

Activity

  1. added
    investigation-effort-proposal
    carryover-evaluation
    on Sep 23, 2025
  2. nairnandu commented on Sep 23, 2025

    @nairnandu
    Contributor

    Thank you @xingri for creating this proposal! Since this is a carryover proposal, I have labelled it accordingly.

  3. xingri commented on Sep 23, 2025

    @xingri
    Author

    That's right. Thank you for the labelling @nairnandu .

  4. wpt-interop commented on Feb 12, 2026

    @wpt-interop
    Collaborator

    Thank you for proposing Advancing Gamepad API Test Automation for Interop 2026.

    We want to let you know it was not selected to be part of Interop this year.

    On behalf of the entire Interop team, thank you for submitting it for consideration. We got many more proposals than we could include in this year's project, necessitating some difficult choices. Please note this should not be taken as a comment on the technology as a whole, or our willingness to consider it for Interop in the future. We appreciate the work you put into your proposal, and would welcome your participation in future rounds of Interop.

    Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    carryover-evaluationinvestigation-effort-proposal

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions