mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
docs: update contextIsolation documentation on access to globals (#19732)
This commit is contained in:
@@ -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?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user