Closed
Bug 1887871
Opened 11 months ago
Closed 11 months ago
"session.subscribe" and "session.unsubscribe" should raise "invalid argument" error when "events" or "contexts" arguments are empty arrays
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Remote Protocol
WebDriver BiDi
Tracking
(firefox126 fixed)
RESOLVED
FIXED
126 Branch
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: Sasha, Assigned: Sasha)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m11][webdriver:relnote])
Attachments
(1 file)
Recently, the spec around "session.subscribe" and "session.unsubscribe" was updated to no allow an empty array as a value for events
and contexts
argument (see https://github.com/w3c/webdriver-bidi/pull/679), so we should update our implementation to raise an "invalid argument" error in such cases.
Invalid test cases were already added on Github with: https://github.com/web-platform-tests/wpt/pull/44985.
Assignee | ||
Comment 1•11 months ago
|
||
Updated•11 months ago
|
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b3cd45ae141
"session.subscribe" and "session.unsubscribe" should raise "invalid argument" error when "events" or "contexts" argument are empty arrays. r=webdriver-reviewers,jdescottes
Assignee | ||
Updated•11 months ago
|
Points: --- → 1
Priority: -- → P2
Whiteboard: [webdriver:m11]
Comment 3•11 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox126:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Updated•10 months ago
|
Whiteboard: [webdriver:m11] → [webdriver:m11][webdriver:relnote]
You need to log in
before you can comment on or make changes to this bug.
Description
•