Open Bug 1536184 Opened 6 years ago Updated 2 years ago

Reduce usage of "getSelectedSource" selector in actions

Categories

(DevTools :: Debugger, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: loganfsmyth, Unassigned)

References

(Blocks 1 open bug)

Details

Ideally actions should be triggering a nice linear set of operations given their input. Currently some actions use functions like getSelectedSource to act on the selected source, is complicated by the fact that the user may change the selected source over time while an async action is running. Actions relying on the current source should look up the source early on, or accept a "SourceContext" that represents the source as it was when the action was started.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.