Closed Bug 1945554 Opened 20 days ago Closed 16 days 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

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m15])

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: 16 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: