#55146: fix: deliver extension events to service workers
Merged
Created: Oct 20, 2026, 5:44:40 PM
Merged: Oct 20, 2026, 7:53:28 PM
4 comments
Target: main
Description of Change
Extension service workers register their event listeners with the browser over the extensions EventRouter interface, which was only bound for frames. Listeners added in a worker were never registered, so events such as storage.onChanged and alarms.onAlarm never reached it.
Checklist
- I have built and tested this change
- I have filled out the PR description
- I have reviewed and verified the changes
-
npm testpasses - tests are changed or added
- relevant API documentation, tutorials, and examples are updated and follow the documentation style guide
- PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, past tense, and no longer than 80 characters.
Release Notes
Notes: Fixed MV3 extension events not arriving to background service workers.
Backports
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron