Open Bug 1758530 Opened 4 years ago Updated 4 months ago

Share code between ResourceCommand and RootResourceCommand

Categories

(DevTools :: Framework, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 1757951 forked a significant part of the ResourceCommand module into a new one dedicated to "Root resources".
This was required mostly because ResourceCommand is instantiated out of a commands object that we can't have for the Root Resources.
We only have a DevToolsClient and a RootFront.
Also, there is a lot of code related to target that we do not need.

Having said that, it would be nice to somehow reuse most of the code. There is still a very large part of the code being copy pasted and this code isn't trivial.

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