-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
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>andws_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.