Open Bug 1649614 Opened 4 years ago

Emit switched-target Toolbox event from TargetList

Categories

(DevTools :: Framework, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

Today, Toolbox code emits two events:

  • switch-target
  • switched-target
    when the top level target changes.
    The first is only used by gDevTools and could probably use TargetList.watchTargets instead.
    The second is only used by tests, and they could probably listen to some event fired by the TargetList.
You need to log in before you can comment on or make changes to this bug.