Add a function to retrieve a nodeFront from a node grip, in the right context
Categories
(DevTools :: Console, task, P1)
Tracking
(firefox71 fixed)
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 2 open bugs)
Details
(Whiteboard: dt-fission-m1)
Attachments
(3 files)
This will allow us to retrieve the right inspector front for a given node
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
The function was close to hit the complexity limit set by eslint,
so we break it up into smaller functions.
We also group assignments where we can.
Assignee | ||
Comment 2•5 years ago
|
||
This will allow us to retrieve the appropriate inspector
(and thus walker, highlighter, ...) for a given element
on the client side.
Depends on D48806
Assignee | ||
Comment 3•5 years ago
|
||
A function is added on the walker actor that creates a NodeFront
from a ContentDomReference, e.g. an object containing a browsingContextId
and a unique DOM element identifier.
A trait is added on the walker actor since the ContentDomReference API was
only added in Firefox 69.
We then add a function on the toolbox that can return a NodeFront from a
element grip.
Depends on D48807
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e9dada687889
https://hg.mozilla.org/mozilla-central/rev/1177ff81eab7
https://hg.mozilla.org/mozilla-central/rev/ba7304bbc693
Updated•5 years ago
|
Updated•3 years ago
|
Description
•