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

#53297: fix: propagate exceptions thrown by property getters on objects passed across the contextBridge

Merged
Created: Aug 28, 2026, 7:57:40 PM
Merged: Aug 28, 2026, 9:58:26 PM
1 comments
Target: 45-x-y

Backport of #53289

See that PR for details.

Notes: Fixed an issue where an exception thrown by a property getter on an object passed through contextBridge was swallowed instead of being thrown back to the caller.

Backport Information

Original PR Author
MarshallOfSound
Original PR Status
Merged
Original PR Merged At
Aug 28, 2026, 7:57:18 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