From 013a7717b47165f70cf1e8bd866b3a07e2922718 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 4 Mar 2014 21:23:18 +0800 Subject: [PATCH] Enable web security. --- browser/atom_browser_client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/atom_browser_client.cc b/browser/atom_browser_client.cc index 1f7351c92864..ffe81f14d45d 100644 --- a/browser/atom_browser_client.cc +++ b/browser/atom_browser_client.cc @@ -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;