NEW282436
[WebDriver][BiDi] Support event subscription priority
https://bugs.webkit.org/show_bug.cgi?id=282436
Summary [WebDriver][BiDi] Support event subscription priority
Lauro Moura
Reported 2024-11-01 07:30:14 PDT
https://w3c.github.io/webdriver-bidi/#event-subscribe-priority The WebDriver BiDi spec allows events to have different subscription priorities. They define the order of the remote end steps (i.e. steps running on the browser) when multiple events are subscribed together. > Optionally, a set of remote end subscribe steps, which define steps to take when a local end subscribes to an event. Where defined these steps have an associated subscribe priority which is an integer controlling the order in which the steps are run when multiple events are enabled at once, with lower integers indicating steps that run earlier. Here are a few of the events that define the priority explicitly as of Nov 1st 2024: * `browsingContext.contextCreated`, priority 1 - https://w3c.github.io/webdriver-bidi/#event-browsingContext-contextCreated * `script.realmCreated`, priority 2 - https://w3c.github.io/webdriver-bidi/#event-script-realmCreated * `log.entryAdded`, priority 10 - https://w3c.github.io/webdriver-bidi/#event-log-entryAdded
Attachments
Lauro Moura
Comment 1 2024-11-01 07:31:13 PDT
Adding dependency on bug271956 as it'll add the initial event support.
Radar WebKit Bug Importer
Comment 2 2024-11-08 06:31:14 PST
Note You need to log in before you can comment on or make changes to this bug.