mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
ae24ed2cde
The problem has 2 folds. The first one is that the shutdown function on DevToolsExtensionPageContextParent wasn't called, which means the target was never destroyed. This is fixed by overriding unload in DevToolsExtensionPageContextParent instead of shutdown, so the function gets called and the target destroyed. The second issue was that a single webextension could create 2 targets, and since we only keep track of a single target, we would miss one. This is fixed by putting the call to watchTargets in getCurrentDevTools in a promise, so subsequent calls that might occur before the resulting promise isn't resolved don't end up calling watchTargets a second time. Differential Revision: https://phabricator.services.mozilla.com/D83935 |
||
---|---|---|
.. | ||
actors | ||
components | ||
content | ||
crashreporter | ||
docs | ||
library | ||
locales | ||
modules | ||
mozapps | ||
pluginproblem | ||
profile | ||
system | ||
themes | ||
xre | ||
.eslintrc.js | ||
l10n-registry.manifest | ||
moz.build | ||
moz.configure | ||
toolkit.mozbuild |