docs: update contextIsolation documentation on access to globals (#19732)
This commit is contained in:
parent
cc136f2acd
commit
ec85a91472
2 changed files with 13 additions and 14 deletions
|
@ -233,8 +233,8 @@ practice, that means that global objects like `Array.prototype.push` or
|
|||
Electron uses the same technology as Chromium's [Content Scripts](https://developer.chrome.com/extensions/content_scripts#execution-environment)
|
||||
to enable this behavior.
|
||||
|
||||
Even when you use `nodeIntegration: false` to enforce strong isolation and
|
||||
prevent the use of Node primitives, `contextIsolation` must also be used.
|
||||
Even when `nodeIntegration: false` is used, to truly enforce strong isolation
|
||||
and prevent the use of Node primitives `contextIsolation` **must** also be used.
|
||||
|
||||
### Why & How?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue