samuelmaddock

#55612: fix(extensions): crash when using chrome.system.storage

Merged
Created: Nov 4, 2026, 3:28:35 PM
Merged: Nov 5, 2026, 11:16:04 AM
4 comments
Target: main

Description of Change

chrome.system.storage is implemented under //extensions upstream. We inherit this in Electron's extension support, but it results in a hard crash when StorageMonitor::GetInstance() is run (src).

This PR initializes the StorageMonitor instance to avoid this crash.

Checklist

Release Notes

Notes: Fixed a crash when extensions access chrome.system.storage APIs.

Backports

45-x-y
Merged
PR Number
#55625
Merged At
Nov 5, 2026, 12:15:57 PM
Released In
Not yet
Release Date
Not yet
46-x-y
Merged
PR Number
#55624
Merged At
Nov 5, 2026, 12:12:41 PM
Released In
v46.0.0-alpha.7
Release Date
Nov 5, 2026, 3:00:26 PM

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