mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00

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