Clear expanded and focusedItem in source-tree reducer on each target/thread removal
Categories
(DevTools :: Debugger, task)
Tracking
(firefox120 fixed)
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(3 files, 2 obsolete files)
Similarly to bug 1814177, expanded and focusedItem in the source-tree reducer should be clearer per target/thread removal in order to avoid breaking the source tree when pausing during unload event.
This reducer clears itself almost correctly on thread removal, except for expanded Set and focusedItem attribute.
Assignee | ||
Comment 1•2 years ago
|
||
This data is only used by the SourcesTree and updated by it,
so it rather ought to be a local state.
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
The expanded props on SourcesTree duplicates the same props of ManagedTree, with no added value.
Assignee | ||
Comment 3•2 years ago
|
||
This data is only used by the SourcesTree and updated by it,
so it rather ought to be a local state.
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Assignee | ||
Comment 5•2 years ago
|
||
Updated•2 years ago
|
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c9c70fd7098a
https://hg.mozilla.org/mozilla-central/rev/8ae166d3e0de
https://hg.mozilla.org/mozilla-central/rev/a153c166d656
Description
•