Share Element and ShadowRoot references (NodeCache) between Marionette and WebDriver BiDi
Categories
(Remote Protocol :: WebDriver BiDi, task, P1)
Tracking
(firefox112 fixed)
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
(Blocks 4 open bugs, )
Details
(Whiteboard: [webdriver:m6][wptsync upstream][webdriver:relnote])
Attachments
(3 files)
Once bug 1692468 is fixed the element cache from Marionette has to be shared with WebDriver BiDi. That means that known nodes will have an identical sharedId
and as such can be used by both protocols.
Before starting on this bug we have to wait until https://github.com/w3c/webdriver-bidi/pull/180 has been landed.
Also we should find an agreement if we want to share Element
and ShadowRoot
types only or all Node
's, and just make the latter not accessible by Marionette.
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
We want to have a single cache for both Element and ShadowRoot. Lets wait for the PR to be merged before continuing here.
Assignee | ||
Comment 2•1 year ago
|
||
Note that the caches for elements and ShadowRoot objects have been merged together to a node cache.
Assignee | ||
Comment 3•1 year ago
|
||
The WebDriver BiDi PR still hasn't been merged. Lets see what we can do to finalize it. Note that Maksim is most likely away now for a couple of weeks.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Somehow we forgot to add this bug to milestone 6. It's blocking some of our planned work.
Assignee | ||
Comment 5•1 year ago
|
||
FYI the referenced pull request got merged.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 6•1 year ago
|
||
Assignee | ||
Comment 7•1 year ago
|
||
Depends on D169490
Assignee | ||
Comment 8•1 year ago
|
||
Depends on D169491
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Pushed by hskupin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54b4cdf88966 [bidi] Serialize and deserialize objects of type Node with sharedId field. r=webdriver-reviewers,Sasha,jdescottes https://hg.mozilla.org/integration/autoland/rev/fd150a3ecbde [webdriver-client] Fix order of arguments for Element constructor and add "no such node" error.. r=webdriver-reviewers,Sasha,jdescottes https://hg.mozilla.org/integration/autoland/rev/a1534b2a931f [wdspec] Add tests for serializing and deserializing objects of type Node with sharedId. r=webdriver-reviewers,Sasha,jdescottes
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Comment 12•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/54b4cdf88966
https://hg.mozilla.org/mozilla-central/rev/fd150a3ecbde
https://hg.mozilla.org/mozilla-central/rev/a1534b2a931f
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/38910 for changes under testing/web-platform/tests
Upstream PR merged by jgraham
Assignee | ||
Updated•1 year ago
|
Description
•