Commit Graph

28 Commits

Author SHA1 Message Date
Abhishek Potnis
cf64d09a53 Bug 986499 - Make the calls to import Deprecated.jsm lazy. r=yoric 2014-03-28 10:36:48 -04:00
Drew Willcoxon
bbe16d6bfe Bug 850219 - Mark nsIContentPrefService as deprecated in favor of nsIContentPrefService2. r=mak 2013-08-08 20:38:49 -07:00
Gabriele Svelto
d0d788ff54 Bug 777196 - Prevent non-chrome processes from accessing the content preferences. r=mak 2013-07-30 09:58:44 +02:00
Ryan VanderMeulen
d8f74701c8 Backed out changeset 7ef4465f20bd (bug 777196) for OSX asserts on a CLOSED TREE. 2013-08-01 15:27:30 -04:00
Gabriele Svelto
eaa2fa8edf Bug 777196 - Prevent non-chrome processes from accessing the content preferences. r=mak
CLOSED TREE
2013-07-30 09:58:44 +02:00
Drew Willcoxon
6cd31fe862 Bug 555120 - Fix intermittent failure in browser_bug441778.js, and in ContentPrefService2, invalidate cache entries when async mutators start. r=mak 2013-06-05 17:05:36 -07:00
Gabriele Svelto
59344b8c99 Bug 835352 - Forward content preference change notifications to child processes. r=mak 2013-01-31 18:43:56 +01:00
Drew Willcoxon
24ef8546b9 Bug 699859 - Create nsIContentPrefService2, an async version of nsIContentPrefService. r=mak, sr=mossop 2012-12-20 17:37:56 -08:00
Jason Orendorff
612e8d879f Bug 807001 - Change Map and Set size() methods to accessor properties. r=Waldo. 2012-11-02 10:12:36 -05:00
Kyle Huey
76a2832eea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-31 09:13:28 -07:00
Vicamo Yang
ea784216bd Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
c82a2d6fea Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
c34b7d9377 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
8078ab712e Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Josh Matthews
0dadc924c1 Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan 2012-06-30 07:50:07 -07:00
Philipp von Weitershausen
0829e9bcf4 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug 2012-08-27 11:13:02 -03:00
Andres Hernandez
9c3f46cd52 Bug 621564. Use Map in nsContentPrefService's cache. r=felipe 2012-08-03 09:43:08 -06:00
Ryan VanderMeulen
4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Florian Quèze
76ed71e427 Bug 762088 - nsContentPrefService.js, reference to undefined property Cc['@mozilla.org/privatebrowsing;1'], r=ehsan. 2012-06-07 15:57:17 +02:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Lankow
ea30cec949 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg 2012-01-17 14:18:29 +13:00
Rafael Ávila de Espíndola
0db6f31c1f Bug 711494 - close _dbConnection. r=mak. 2011-12-19 13:10:18 -05:00
Rafael Ávila de Espíndola
7e7b94138b Bug 688913 - Finalize statements in extensions/cookie and toolkit/components/contentprefs. r=mak. 2011-10-28 10:55:20 -04:00
arno renevier
dff63f2de7 bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan
Manage private browsing mode in content pref service. CPS should be available
in private browsing mode, but should not store informations on disk, and should
clear all informations once the private session ends.

When setting a pref in private mode, it is stored in an in-memory hash table.
When getting a pref, it is retrieved from that hash table if available.
Otherwise, it is retrieved using the standard mechanism. When removing a pref,
it is retrieved from the hash table. The rationale is that in private mode,
it's ok to read a pref from normal database, but not ok to set it.

The in-memory hash table is cleared when leaving the private browsing mode.

When removing a set of preferences (with removeGroupedPrefs or
removePrefsByName), preferences are removed from the in-memory hashtable, *and*
from normal mode database. The rationale is that visiting a website may trigger
setting/getting/removing for a specific preference only. But removing many
prefs at once is the result of an action not associated with a website. For
example, user may wish to delete all its informations. In that case, user
probably expects to not have those informations restored once it leaves private
browsing mode.
2011-09-01 14:13:03 -04:00
arno renevier
0a723d0d12 bug 678842: remember spell check setting per site; r=ehsan 2011-08-23 15:03:33 -04:00
Benjamin Smedberg
5c8d716d33 Bug 617539 - Fold nsIContentPrefService_MOZILLA_2_0 back into the main interface, r=gavin 2011-03-25 11:03:34 -04:00
Mitchell Field
8969bddd5d Bug 595513 - Reduce makefile recursion in toolkit. r=khuey 2011-03-08 14:58:46 +11:00