NEW 291371
[WebDriver][BiDi] session.subscribe should subscribe to all events in a module if just given the module name
https://bugs.webkit.org/show_bug.cgi?id=291371
Summary [WebDriver][BiDi] session.subscribe should subscribe to all events in a modul...
Lauro Moura
Reported 2025-04-10 08:06:14 PDT
https://w3c.github.io/webdriver-bidi/#obtain-a-set-of-event-names To obtain a set of event names given a name: 1. Let events be an empty set. 2. If name contains a U+002E (period): 1. If name is the event name for an event, append name to events and return success with data events. 2. Return an error with error code invalid argument 3. Otherwise name is interpreted as representing all the events in a module. If name is not a module name return an error with error code invalid argument. 4. Append the event name for each event in the module with name name to events. 5. Return success with data events. Related tests: imported/w3c/webdriver/tests/bidi/session/subscribe/events.py::test_subscribe_to_module imported/w3c/webdriver/tests/bidi/session/subscribe/events.py::test_subscribe_to_one_event_and_then_to_module imported/w3c/webdriver/tests/bidi/session/subscribe/events.py::test_subscribe_to_module_and_then_to_one_event_again
Attachments
Radar WebKit Bug Importer
Comment 1 2025-04-17 08:07:13 PDT
Note You need to log in before you can comment on or make changes to this bug.