Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1860833 - optimize number of calls to getTabClient r=fxview-revie…
…wers,sfoster Amending the `getRecentTabs` function eliminates one of the duplicate calls to `getTabClients`. I opted for this approach as opposed to getting tabs from clients or vice versa because that involved a larger refactor that ended up adding unnecessary noise to the `getRecentTabs` and `getTabClients` return values. Combined with a patch by @sfoster, we have reduced the number of calls from 9 to 1. Differential Revision: https://phabricator.services.mozilla.com/D194656
- Loading branch information