mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

Depends on D106426 Without this patch queue, `createDescriptorForTab` was not caching its descriptors, so each call to it would yield a new descriptor. Since the webextension codebase really needs to use a different target from the one used by the DevTools toolbox, suddenly sharing the Toolbox's descriptor was an issue. Addressing it with an explicit parameter to make this expectation from the webextension codebase a bit clearer for us. Differential Revision: https://phabricator.services.mozilla.com/D107052