Serialize a context property for WindowProxy
Categories
(Remote Protocol :: WebDriver BiDi, task, P2)
Tracking
(firefox121 fixed)
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: whimboo, Assigned: Sasha)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m9][wptsync upstream][webdriver:relnote])
Attachments
(4 files)
As per a recent change in the WebDriver BiDi specification the serialization of a WindowProxy
has to include a context
field.
Let window be the value of value’s [[WindowProxy]] internal slot.
Let browsing context be window’s browsing context.
Let context id be the browsing context id for browsing context.
Let serialized be a map matching the script.WindowProxyProperties production in the local end definition with the context property set to context id.
See also bug 1274251 for the required implementation in Marionette.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
It's unlikely that this will make it into M8. Moving to M9.
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
The Marionette implementation is done now via bug 1274251. But we do not have the wdspec tests yet which will be synced via bug 1849891.
Also I noticed that for a better interop with classic we might want to have another field on the script.WindowProxyRemoteValue
type that would indicate if it is a (top-level) window or a frame. Otherwise it will make it harder for the clients to build the correct WebFrame
or WebWindow
type for classic.
Reporter | ||
Comment 3•1 year ago
|
||
I've filed https://github.com/w3c/webdriver-bidi/issues/580. We potentially should wait with our implementation until this proposal has been discussed.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D192703
Assignee | ||
Comment 6•1 year ago
|
||
Depends on D192704
Assignee | ||
Comment 7•1 year ago
|
||
Depends on D192705
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Comment 10•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f4e5009e96b6
https://hg.mozilla.org/mozilla-central/rev/db635dee1440
https://hg.mozilla.org/mozilla-central/rev/a6ec7bc1e873
https://hg.mozilla.org/mozilla-central/rev/1713e8a475fd
Reporter | ||
Updated•1 year ago
|
Description
•