Closed Bug 1788124 Opened 2 years ago Closed 2 years ago

Support basic deserialization of complex objects referenced by a handle id

Categories

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

task
Points:
2

Tracking

(firefox106 fixed)

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

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

Attachments

(1 file)

The goal of this bug is to support deserializing complex objects which have a handle property and can directly be extracted from the object reference store.

Depends on D155446

With this you can retrieve a remote value with a handle from script.execute and then use it in your next call to script.callFunction

Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c83131daa6d3
[bidi] Deserialize remote values with handle field r=webdriver-reviewers,whimboo
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
Whiteboard: [webdriver:m4] → [webdriver:m4][webdriver:relnote]
Blocks: 1788861

For webdriver:relnote

We added support for de-serializing remote references created in the object reference store. This allows to send back a remote reference to another command, which will be able to reuse the original object from which the remote reference was created.

(note: we might drop this release note item, if we feel like Bug 1778976 covers it already)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: