docs: update default value for enableRemoteModule in BrowserWindow (#25011)

Co-authored-by: Vlad Hashimoto <hashimoto.stream@gmail.com>
This commit is contained in:
trop[bot]
2020-08-21 20:34:12 -07:00
committed by GitHub
parent 711bab1950
commit 8a8fe090ae

View File

@@ -271,7 +271,7 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
the `nodeIntegration` option and the APIs available to the preload script
are more limited. Read more about the option [here](sandbox-option.md).
* `enableRemoteModule` Boolean (optional) - Whether to enable the [`remote`](remote.md) module.
Default is `true`.
Default is `false`.
* `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