Open Bug 1712687 Opened 4 years ago Updated 2 months ago

Stop pulling descriptor front from target front in InspectorFront.getNodeActorFromContentDomReference

Categories

(DevTools :: Framework, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

After bug 1693269 lands, InspectorFront.getNodeActorFromContentDomReference will be the last usage of TargetMixin.descriptorFront:
https://searchfox.org/mozilla-central/rev/fa48ebee58d59fa846919c3e2c3122b08db57c9c/devtools/client/fronts/inspector.js#230-245

We should somehow remove this.
The main issue is that fronts don't have access to commands and so can't do commands.descriptorFront which is the best way today to fetch the descriptor.

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.