Don't show insecure content by default

This follows the behavior of Chrome.
This commit is contained in:
Cheng Zhao 2015-01-06 20:53:25 -08:00
parent 09acb9032a
commit 19d6d171b1

View file

@ -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")) {