Skip to content

Commit 3b7e156

Browse files
authored
Update WebPreferences's ContextIsolation default value to true
1 parent 23f4d39 commit 3b7e156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ElectronNET.API/Entities/WebPreferences.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public class WebPreferences
185185
/// Context' entry in the combo box at the top of the Console tab. This option is
186186
/// currently experimental and may change or be removed in future Electron releases.
187187
/// </summary>
188-
[DefaultValue(false)]
188+
[DefaultValue(true)]
189189
public bool ContextIsolation { get; set; } = false;
190190

191191
/// <summary>

0 commit comments

Comments
 (0)