samuelmaddock

#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

Release Notes

Notes: Fixed MV3 extension events not arriving to background service workers.

Backports

43-x-y
In-flight
PR Number
#55153
Waiting to be merged
44-x-y
In-flight
PR Number
#55152
Waiting to be merged
45-x-y
In-flight
PR Number
#55154
Waiting to be merged

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