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

#51723: fix: process undefined in ESM preload when contextIsolation is disabled

Merged
Created: May 20, 2026, 3:18:40 PM
Merged: May 20, 2026, 10:19:00 PM
2 comments
Target: 43-x-y

Backport of #51693

See that PR for details.

Notes: Fixed an issue where process and other Node globals were undefined in ESM preload scripts when contextIsolation was disabled.

Backport Information

Original PR Author
sheitabrk
Original PR Status
Merged
Original PR Merged At
May 20, 2026, 3:18:26 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