summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_webkit_preferences.cc
diff options
context:
space:
mode:
authormihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 21:21:47 +0000
committermihaip@chromium.org <mihaip@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-30 21:21:47 +0000
commite8c5c2e12ec609f59a2f69ca8a3296823d855881 (patch)
tree6c2460f5f8355a44e7323dfb3e13fa1292d70cae /chrome/browser/extensions/extension_webkit_preferences.cc
parentc410e02b297c491b5ad1cf49606679edaf018dba (diff)
downloadchromium_src-e8c5c2e12ec609f59a2f69ca8a3296823d855881.zip
chromium_src-e8c5c2e12ec609f59a2f69ca8a3296823d855881.tar.gz
chromium_src-e8c5c2e12ec609f59a2f69ca8a3296823d855881.tar.bz2
Disable synchronous XMLHttpRequests in platform app documents.
Depends on http://webkit.org/b/87540 R=darin@chromium.org BUG=130185 Review URL: https://chromiumcodereview.appspot.com/10443047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_webkit_preferences.cc')
-rw-r--r--chrome/browser/extensions/extension_webkit_preferences.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_webkit_preferences.cc b/chrome/browser/extensions/extension_webkit_preferences.cc
index 14fbbbe..b15f3398 100644
--- a/chrome/browser/extensions/extension_webkit_preferences.cc
+++ b/chrome/browser/extensions/extension_webkit_preferences.cc
@@ -38,6 +38,7 @@ void SetPreferences(const extensions::Extension* extension,
if (extension->is_platform_app()) {
webkit_prefs->databases_enabled = false;
webkit_prefs->local_storage_enabled = false;
+ webkit_prefs->sync_xhr_in_documents_enabled = false;
}
// Enable WebGL features that regular pages can't access, since they add