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

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

Open
Created: Aug 20, 2026, 5:50:10 AM
0 comments
Target: 42-x-y

Backport of #52964

See that PR for details. Trop could not cherry-pick it cleanly; this branch predates kNoBrowserGlobals, so the save-Blink-fetch blocks stay and there is no WasmResponseExtensions re-install to move, plus the same utility-process context conflict as 43/44.

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