Repository navigation
Conversation
MarshallOfSound
left a comment
There was a problem hiding this comment.
This is most definitely a breaking change, nodeIntegration: false still has NodeJS in preload scripts. Defaulting to sandbox: true will break preload script that utilize node.js
|
@MarshallOfSound do you have thoughts about how we can approach making this the default? perhaps a phased deprecation:
|
I think you also have to care about |
|
Is it the case that |
|
Closing in favor of #30197 |
Description of Change
Closes #28466.
This enables
sandbox: trueby default unlessnodeIntegration: trueisspecified. This is a non-breaking change because without
nodeIntegration: true, there's no documented way to perform any action that would causedifferent behavior depending on whether the sandbox is enabled or not.
Checklist
npm testpassesRelease Notes
Notes: Renderer processes without node integration enabled are now sandboxed by default.