Fixed bug - #411

This commit is contained in:
Gregor Biswanger
2020-05-21 22:39:52 +02:00
parent 4a9b6fa9c1
commit 9502eb787a
2 changed files with 11 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ namespace ElectronNET.API.Entities
/// <summary>
/// Whether to run Electron APIs and the specified preload script in a separate
/// JavaScript context.Defaults to false. The context that the preload script runs
/// JavaScript context. Defaults to false. The context that the preload script runs
/// in will still have full access to the document and window globals but it will
/// use its own set of JavaScript builtins (Array, Object, JSON, etc.) and will be
/// isolated from any changes made to the global environment by the loaded page.The
@@ -185,8 +185,8 @@ namespace ElectronNET.API.Entities
/// Context' entry in the combo box at the top of the Console tab. This option is
/// currently experimental and may change or be removed in future Electron releases.
/// </summary>
[DefaultValue(true)]
public bool ContextIsolation { get; set; } = true;
[DefaultValue(false)]
public bool ContextIsolation { get; set; }
/// <summary>
/// Whether to use native window.open(). Defaults to false. This option is currently experimental.