mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-10-31 16:28:05 +02:00 
			
		
		
		
	|  029d6f68c3 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. Original Revision: https://phabricator.services.mozilla.com/D215298 Differential Revision: https://phabricator.services.mozilla.com/D216987 | ||
|---|---|---|
| .. | ||
| child | ||
| parent | ||
| schemas | ||
| test | ||
| .eslintrc.js | ||
| ext-browser.json | ||
| extension-popup-panel.css | ||
| extension.css | ||
| ExtensionBrowsingData.sys.mjs | ||
| ExtensionControlledPopup.sys.mjs | ||
| ExtensionPopups.sys.mjs | ||
| extensions-browser.manifest | ||
| jar.mn | ||
| moz.build | ||