Enable web security.

This commit is contained in:
Cheng Zhao 2014-03-04 21:23:18 +08:00
parent aae4abfa86
commit 013a7717b4

View file

@ -54,7 +54,7 @@ void AtomBrowserClient::OverrideWebkitPrefs(
const GURL& url,
WebPreferences* prefs) {
prefs->javascript_enabled = true;
prefs->web_security_enabled = false;
prefs->web_security_enabled = true;
prefs->javascript_can_open_windows_automatically = true;
prefs->plugins_enabled = false;
prefs->dom_paste_enabled = true;