Remove inspector-related front specifics out of toolbox class

NEW
Assigned to

Status

enhancement
P2
normal
9 months ago
2 months ago

People

(Reporter: yulia, Assigned: yulia)

Tracking

(Blocks 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: dt-fission)

This bug is for tracking the second half of the inspector : toolbox decoupling. Related description from the original bug: 

Most of this code should be moved to the front class.
The toolbox should most likely only register its event listener and that's it:
  this._selection.on("new-node-front", this._onNewSelectedNodeFront);

  if (this.highlighterUtils.isRemoteHighlightable()) {
    this.walker.on("highlighter-ready", this._highlighterReady);
    this.walker.on("highlighter-hide", this._highlighterHidden);
  }

Moving the initialization code to the front will depend on bug 1495387, while still being able to listen for events will depend on bug 1495386.
Severity: normal → enhancement
Depends on: 1504185
You need to log in before you can comment on or make changes to this bug.