gecko/browser
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
..
app merge m-c to fx-team 2011-08-31 09:21:43 -03:00
base bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan 2011-09-01 14:13:03 -04:00
branding Bug 653333 - Remove legacy splash screen code (nsSplashScreen, MOZ_SPLASHSCREEN, splash.bmp) now that no platforms use it; r=dtownsend,bsmedberg 2011-08-04 09:04:40 +02:00
components Merge services-central with mozilla-central 2011-08-31 11:20:28 -07:00
config Bump the Firefox versions from 8 to 9 on mozilla-central 2011-08-16 14:24:21 -04:00
devtools Bug 672743 - Remove category view from style inspector; r=msucan 2011-08-30 13:40:29 -03:00
fuel Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
installer Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
locales Merge services-central with mozilla-central 2011-08-31 11:20:28 -07:00
themes merge m-c to fx-team 2011-08-31 09:21:43 -03:00
build.mk Bug 579909 - Move WebConsole code to browser; f=nfitzgerald r=dtownsend,ddahl,gavin.sharp 2011-07-26 12:22:51 -03:00
confvars.sh Bug 578268: Eliminate the last vestiges of mork from Firefox. r=mak 2011-07-02 12:16:45 -07:00
LICENSE
Makefile.in Bug 678021 - browser/base and browser/devtools are racing to make jars; r=dolske 2011-08-16 12:06:28 -03:00
makefiles.sh Bug 663630 followup: Remove reference to now-deleted Makefile from makefiles.sh build script. r=mak 2011-07-12 12:54:54 -07:00