This is a backport PR for branch 42-x-y
#51933: fix: invalidate sandboxed preload code cache when source changes without changing length
Merged
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
VerteDindeOriginal PR Status
Merged
Original PR Merged At
Jun 8, 2026, 10:52:30 PM
Original PR Link
View on GitHubSemver 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