зеркало из https://github.com/mozilla/gecko-dev.git
676bc162aa
This patch updates every use of EventManager in child/ext-*.js files that can referenced from extension contexts of envType "addon_child". Pre patch, these could trigger "background-script-reset-idle" and result in triggering "background-script-reset-idle" in the parent despite the background being stopped, and consequently trigger the reported bug. The previous patch fixes the negative consequence of this unexpected event, this patch fixes an underlying cause by removing the triggers. Forcing resetIdleOnEvent to false does not have any negative impact on these modules, because all of these events are dependencies of an EventManager in the parent, which already activates the functionality associated with resetIdleOnEvent=true. To minimize the likelihood of affecting unit tests, this patch keeps the EventManager of test.onMessage at resetIdleOnEvent=true as before, and defers to bug 1901294 for changing it to false. Differential Revision: https://phabricator.services.mozilla.com/D215298 |
||
---|---|---|
.. | ||
.eslintrc.js | ||
ext-browser-content-only.js | ||
ext-browser.js | ||
ext-devtools-inspectedWindow.js | ||
ext-devtools-network.js | ||
ext-devtools-panels.js | ||
ext-devtools.js | ||
ext-menus-child.js | ||
ext-menus.js | ||
ext-omnibox.js | ||
ext-tabs.js |