forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1770204 - [devtools] Simplify breakpoint list selectors r=nchevobbe
The selector is already sorting the breakpoints, so there is no need to re-sort them in the component. Also Array.sort(stringA-stringB) was misbehaving. Then I'm using getSourcesMap in order to avoid calling getBreakpointList many times. Otherwise getSourcesForBreakpoints has to receive the state object in order to retrieve the source objects. Differential Revision: https://phabricator.services.mozilla.com/D146426
- Loading branch information
Showing
4 changed files
with
69 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters