#53686: fix: gate preload and worker Node integration on the creating frame
Merged
Created: Sep 7, 2026, 10:59:47 AM
Merged: Sep 7, 2026, 2:26:05 PM
8 comments
Target: main
- With
nodeIntegrationInWorker, a worker gets Node integration only when the frame that creates it has it (the main frame, or any frame whennodeIntegrationInSubFramesis enabled). Previously workers created by subframes got it as well. - The DevTools-extension preload exception applies only to extension documents hosted inside the DevTools front-end, not to any
chrome-extension://frame. - Specs for the worker gating; docs and breaking-changes entries.
Notes: nodeIntegrationInWorker now applies only to workers created by frames that themselves have Node integration; enable nodeIntegrationInSubFrames to keep Node in workers created by subframes.
Backports
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