This is a backport PR for branch 44-x-y
#53579: fix: only run the node_init preload in the principal realm
Merged
Backport of #53546
See that PR for details.
Notes: Fixed a spurious node_init error being logged when creating a ShadowRealm with Node.js integration enabled.
Backport Information
Original PR Author
codebytereOriginal PR Status
Merged
Original PR Merged At
Sep 5, 2026, 4:00:00 AM
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