Closed Bug 1945554 Opened 1 year ago Closed 1 year ago

Throw "InvalidArgument" error when both "contexts" and "userContexts" arguments are provided in "script.addPreloadScript" command

Categories

(Remote Protocol :: WebDriver BiDi, task, P2)

task
Points:
2

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: Sasha, Assigned: Sasha)

References

Details

(Whiteboard: [webdriver:m15][webdriver:relnote])

Attachments

(1 file)

During the implementation of bug 1940927, we missed that the spec requires now to also throw the "InvalidArgument" error when both "contexts" and "userContexts" arguments are provided in "script.addPreloadScript" command (see step 1).

Depends on: 1945605
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1595efb5df6a [bidi] Throw "InvalidArgument" error when both "contexts" and "userContexts" arguments are provided in "script.addPreloadScript" command. r=webdriver-reviewers,jdescottes
Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:m15]
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Whiteboard: [webdriver:m15] → [webdriver:m15][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: