Rename option to contextIsolation
This commit is contained in:
parent
b56bdc83af
commit
ad3b837ad5
5 changed files with 20 additions and 15 deletions
|
@ -121,8 +121,9 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
|||
|
||||
// Run Electron APIs and preload script in isolated world
|
||||
bool isolated;
|
||||
if (web_preferences.GetBoolean("isolated", &isolated) && isolated)
|
||||
command_line->AppendSwitch(switches::kIsolatedWorld);
|
||||
if (web_preferences.GetBoolean(options::kContextIsolation, &isolated) &&
|
||||
isolated)
|
||||
command_line->AppendSwitch(switches::kContextIsolation);
|
||||
|
||||
// --background-color.
|
||||
std::string color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue