Remove old sandbox option in list and mark as experimental
This commit is contained in:
parent
437f1192d9
commit
870dcb9071
1 changed files with 6 additions and 5 deletions
|
@ -226,10 +226,12 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
||||||
Node global symbols back to the global scope. See example
|
Node global symbols back to the global scope. See example
|
||||||
[here](process.md#event-loaded).
|
[here](process.md#event-loaded).
|
||||||
* `sandbox` Boolean (optional) - If set, this will sandbox the renderer
|
* `sandbox` Boolean (optional) - If set, this will sandbox the renderer
|
||||||
associated with the window, making it compatible with chromium sandbox and
|
associated with the window, making it compatible with the Chromium
|
||||||
disabling the node.js engine. This is not the same as the
|
OS-level sandbox and disabling the Node.js engine. This is not the same as
|
||||||
`nodeIntegration` option and the APIs available to the preload script are
|
the `nodeIntegration` option and the APIs available to the preload script
|
||||||
more limited. Read more about the option [here](sandbox-option.md).
|
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.
|
||||||
* `session` [Session](session.md#class-session) (optional) - Sets the session used by the
|
* `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
|
page. Instead of passing the Session object directly, you can also choose to
|
||||||
use the `partition` option instead, which accepts a partition string. When
|
use the `partition` option instead, which accepts a partition string. When
|
||||||
|
@ -287,7 +289,6 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
||||||
window. Defaults to `false`. See the
|
window. Defaults to `false`. See the
|
||||||
[offscreen rendering tutorial](../tutorial/offscreen-rendering.md) for
|
[offscreen rendering tutorial](../tutorial/offscreen-rendering.md) for
|
||||||
more details.
|
more details.
|
||||||
* `sandbox` Boolean (optional) - Whether to enable Chromium OS-level sandbox.
|
|
||||||
* `contextIsolation` Boolean (optional) - Whether to run Electron APIs and
|
* `contextIsolation` Boolean (optional) - Whether to run Electron APIs and
|
||||||
the specified `preload` script in a separate JavaScript context. Defaults
|
the specified `preload` script in a separate JavaScript context. Defaults
|
||||||
to `false`. The context that the `preload` script runs in will still
|
to `false`. The context that the `preload` script runs in will still
|
||||||
|
|
Loading…
Reference in a new issue