Julian Descottes 4d4fd23226 Bug 1694906 - [devtools] Add new option to createDescriptorForTab to support devtools webextensions r=rpl,ochameau
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
2021-03-10 18:22:03 +00:00
..