Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2270)

Unified Diff: chrome/browser/extensions/extension_webkit_preferences.cc

Issue 10636039: Disable the special behaviour of document.cookie in platform apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_webkit_preferences.cc
diff --git a/chrome/browser/extensions/extension_webkit_preferences.cc b/chrome/browser/extensions/extension_webkit_preferences.cc
index b15f33988cead6e5897f6211faf39546b2ccecfa..1b7c6829410376543e1921a65b7b06294eb0dcc7 100644
--- a/chrome/browser/extensions/extension_webkit_preferences.cc
+++ b/chrome/browser/extensions/extension_webkit_preferences.cc
@@ -39,6 +39,7 @@ void SetPreferences(const extensions::Extension* extension,
webkit_prefs->databases_enabled = false;
webkit_prefs->local_storage_enabled = false;
webkit_prefs->sync_xhr_in_documents_enabled = false;
+ webkit_prefs->cookie_enabled = false;
}
// Enable WebGL features that regular pages can't access, since they add
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698