Skip to content

Feature request: optional websocket reporter to stream real-time test results #56518

@dneu2

Description

@dneu2

I propose adding an optional test completion callback function that can report test results over a WebSocket connection. Features:

  • Opt-in only: It would be invoked with a special URL parameters, ws_host=<ip address> and ws_id=<unique id>, ensuring no change to default test behavior.

  • Allows for new use cases: live reporting for nightly CI/CD builds, letting developers see test failures in real time without waiting for full JSON/HTML reports. Useful for devices that can’t host WPT themselves.

  • Extensible: Could serve as a framework for other streaming/reporting utilities in the future.

I’m building this initially to run WPT tests on smart TVs in my dev environment, but I believe it can benefit a broader set of workflows where live feedback or remote reporting is valuable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    infratestharness.jswptrunnerThe automated test runner, commonly called through ./wpt run

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions