Closed
Bug 1679503
Opened 5 years ago
Closed 5 years ago
Make getNodeFrontInFrame helper fission compatible
Categories
(DevTools :: Inspector, task)
DevTools
Inspector
Tracking
(Fission Milestone:M7, firefox85 fixed)
| Tracking | Status | |
|---|---|---|
| firefox85 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Attachments
(1 external file)
The helper can be used in inspector test to retrieve the node front for an element inside an iframe devtools/client/inspector/test/head.js#286-300
Unfortunately, the helper does not work on remote frame when fission is enabled.
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Summary: Make → Make getNodeFrontInFrame helper fission compatible
| Assignee | ||
Comment 1•5 years ago
|
||
The helper wasn't working for element in remote frame when Fission was enabled.
We fix this by first retrieving the iframe associated target front and related
walker front.
Then we can check if the walker is different from the top-level one, and call
querySelector with the appropriate queryNode.
Updated•5 years ago
|
Fission Milestone: --- → M7
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a35c0d41e827
[devtools] Make getNodeFrontInFrame helper Fission-compatible. r=rcaliman.
Comment 3•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•