Closed Bug 1770476 Opened 2 years ago Closed 2 years ago

Support for returning primitive values from "script.evaluate" command

Categories

(Remote Protocol :: WebDriver BiDi, enhancement, P1)

enhancement
Points:
3

Tracking

(firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: whimboo, Assigned: jdescottes)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [webdriver:m4])

Attachments

(3 files)

With bug 1742979 we will get basic support for script.evaluate. This bug covers the addition of returning primitive protocol values and the creation of appropriate webdriver and maybe xpcshell tests.

Since we already have primitive values serialization, adding this soon will enable to write more tests for script.evaluate

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

For the wdspec tests we will need bug 1770705 (downstream sync from Maxim's PR) first.

Depends on: 1770705
Blocks: 1775270

Adding leave open. I am landing the implementation but I want to land the test fixes once the sync is done in Bug 1770705

Keywords: leave-open
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f91ee506e95a [bidi] Add support for return values in script.evaluate r=webdriver-reviewers,whimboo
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3eedb52aae33 [wdspec] Use script.evaluate in test_navigator_webdriver_enabled r=webdriver-reviewers,whimboo
Keywords: leave-open
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
No longer blocks: 1775270
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: