Don't show insecure content by default
This follows the behavior of Chrome.
This commit is contained in:
parent
09acb9032a
commit
19d6d171b1
1 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@ void AtomBrowserClient::OverrideWebkitPrefs(
|
|||
prefs->allow_universal_access_from_file_urls = true;
|
||||
prefs->allow_file_access_from_file_urls = true;
|
||||
prefs->experimental_webgl_enabled = true;
|
||||
prefs->allow_displaying_insecure_content = true;
|
||||
prefs->allow_running_insecure_content = true;
|
||||
prefs->allow_displaying_insecure_content = false;
|
||||
prefs->allow_running_insecure_content = false;
|
||||
|
||||
// Turn off web security for devtools.
|
||||
if (url.SchemeIs("chrome-devtools")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue