gecko/toolkit
arno renevier 72d929e113 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
..
components bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan 2011-09-01 14:13:03 -04:00
content merge m-c to fx-team 2011-08-26 11:38:59 -03:00
crashreporter Bug 677641 - Fix c++0x initializer list error found by clang; r=ted 2011-08-11 19:31:11 -04:00
library Expose jsdbg2 Debugger object as a C.u.import-able module. Bug 679031, r=ted, sr=bsmedberg. 2011-08-31 10:39:39 -05:00
locales Bug 582596 - Style view centered around answering common CSS questions, f=l10n, r=dolske, msucan 2011-08-30 09:12:02 -03:00
mozapps Merge services-central with mozilla-central 2011-08-31 11:20:28 -07:00
obsolete
profile Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
system Bug 676180 - Memory allocation / deallocation mismatch in toolkit/system/gnome/nsGIOService.cpp. r=karlt 2011-08-02 21:52:00 -04:00
themes Bug 678761 - Add-on selection UI footer may not always look good on non-aero themes. r=dao 2011-08-25 17:50:43 +12:00
xre Bug 681238 part 2 - Test WindowsDllInterceptor on functions we intercept in our codebase. r=vlad 2011-08-29 13:23:45 +02:00
empty-file
Makefile.in Bug 670880 - Remove Spatial Navigation. r=blassey 2011-07-20 15:19:59 -07:00
toolkit-makefiles.sh Expose jsdbg2 Debugger object as a C.u.import-able module. Bug 679031, r=ted, sr=bsmedberg. 2011-08-31 10:39:39 -05:00
toolkit-tiers.mk Expose jsdbg2 Debugger object as a C.u.import-able module. Bug 679031, r=ted, sr=bsmedberg. 2011-08-31 10:39:39 -05:00