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•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•10 months ago
|
Updated•10 months ago
|
Assignee | ||
Comment 1•10 months 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•9 months ago
|
||
Note that the caches for elements and ShadowRoot objects have been merged together to a node cache.
Assignee | ||
Comment 3•9 months 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•8 months ago
|
Assignee | ||
Comment 4•8 months ago
|
||
Somehow we forgot to add this bug to milestone 6. It's blocking some of our planned work.
Assignee | ||
Comment 5•8 months ago
|
||
FYI the referenced pull request got merged.
Assignee | ||
Updated•7 months ago
|
Assignee | ||
Comment 6•7 months ago
|
||
Assignee | ||
Comment 7•7 months ago
|
||
Depends on D169490
Assignee | ||
Comment 8•7 months ago
|
||
Depends on D169491
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Comment 10•7 months 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.
Updated•7 months ago
|
Comment 12•7 months 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
Updated•7 months ago
|
Upstream PR merged by jgraham
Assignee | ||
Updated•6 months ago
|
Description
•