This is a backport PR for branch 44-x-y
codebytere

#53040: fix: illegal access errors when a same-process child window or subframe closes

Merged
Created: Aug 20, 2026, 5:49:59 AM
Merged: Aug 20, 2026, 2:36:35 PM
1 comments
Target: 44-x-y

Backport of #52964

See that PR for details. Trop could not cherry-pick it cleanly; the only conflict was context around the utility process's CreateEnvironment call, which has no snapshot path on this branch.

Notes: Fixed Uncaught illegal access errors and possible renderer crashes after closing a same-process child window or removing an iframe with nodeIntegrationInSubFrames enabled.

Backport Information

Original PR Author
codebytere
Original PR Status
Merged
Original PR Merged At
Aug 20, 2026, 3:19:00 AM
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