mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
feat: add webPreferences.enableRemoteModule option (#13028)
This commit is contained in:
committed by
Alexey Kuzmin
parent
72db5ed7cb
commit
d3efc52745
@@ -270,6 +270,8 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
||||
are more limited. Read more about the option [here](sandbox-option.md).
|
||||
**Note:** This option is currently experimental and may change or be
|
||||
removed in future Electron releases.
|
||||
* `enableRemoteModule` Boolean (optional) - Whether to enable the [`remote`](remote.md) module.
|
||||
Default is `true`.
|
||||
* `session` [Session](session.md#class-session) (optional) - Sets the session used by the
|
||||
page. Instead of passing the Session object directly, you can also choose to
|
||||
use the `partition` option instead, which accepts a partition string. When
|
||||
|
||||
Reference in New Issue
Block a user