This is a backport PR for branch 43-x-y
trop[bot]

#51932: fix: invalidate sandboxed preload code cache when source changes without changing length

Merged
Created: Jun 8, 2026, 10:52:42 PM
Merged: Jun 9, 2026, 12:58:30 AM
1 comments
Target: 43-x-y

Backport of #51930

See that PR for details.

Notes: Fixed sandboxed preload scripts running a stale cached version after the script was modified without its file size changing.

Backport Information

Original PR Author
VerteDinde
Original PR Status
Merged
Original PR Merged At
Jun 8, 2026, 10:52:30 PM
Original PR Link
GitHubView on GitHub

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