Closed
Bug 1818495
Opened 3 years ago
Closed 3 years ago
Use location source and sourceActor attribute instead of re-querying the selectors.
Categories
(DevTools :: Debugger, task)
DevTools
Debugger
Tracking
(firefox113 fixed)
RESOLVED
FIXED
113 Branch
| Tracking | Status | |
|---|---|---|
| firefox113 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
Bug 1815500 will start exposing source and sourceActor objects on all location objects.
We could then migrate all code using getLocationSource(getState, location) to location.source.
And also migrate many other code pattern doing the similar thing: query the selectors to map sourceId to the source actor.
A similar simplication is also possible for sourceActorId versus sourceActor.
| Assignee | ||
Comment 2•3 years ago
|
||
This may keep running async code whose source have been removed,
but this help remove various selectors lookups.
If we expect to check in async code if the source is still registered,
we should probably have an explicit API for this.
Updated•3 years ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b54d15de5072
[devtools] Use location source and sourceActor attribute instead of re-querying the selectors. r=bomsy,devtools-reviewers
Comment 4•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•