Open Bug 1518122 Opened 6 years ago Updated 2 years ago

[remote-dbg-next] Review using fronts directly in our data structure instead of doing lookups

Categories

(DevTools :: about:debugging, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

A pattern we use in about:debugging is to only keep the actor ID around in our data model. And when we need to perform a request, we retrieve the front and call the method we want on it. We did this both to keep our data model very simple and easily serializable, and also because some of our debug targets did not have fronts. After Bug 1510654, all our targets should have usable fronts. We could keep the fronts in our data model and directly call methods on the front instances instead of having to first do a lookup by id.
Depends on: 1510654
Priority: -- → P3
No longer blocks: remote-debugging-ng-m3-plus
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.