gecko-dev/toolkit/components
arno renevier 46c2f6aa69 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
..
aboutmemory Bug 677358 - change GC+CC button to a CC button in about:memory. r=njn 2011-08-12 11:48:18 -07:00
alerts Bug 681061 - Avoid compartment mismatch error when displaying a growl notification. r=mrbkap 2011-08-22 17:20:52 -04:00
apppicker Bug 569542: fix appPicker.js's getFileDisplayName function, and make all copies of this method identical, r=Neil 2010-06-07 10:29:25 -04:00
autocomplete Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
build Bug 676293 - Add ability to make 'home screen shortcut' for Bookmarks [r=fabrice, r=blassey] 2011-08-08 22:37:57 -04:00
commandlines Bug 666224 - Fix off-by-one error when checking nsCommandLine::GetArgument aIndex argument. r=bsmedberg 2011-06-25 11:49:03 +02:00
console Bug 579909 - Move WebConsole code to browser; f=nfitzgerald r=dtownsend,ddahl,gavin.sharp 2011-07-26 12:22:51 -03:00
contentprefs bug 679784: let nsIContentPrefService handle private browsing mode; r=ehsan 2011-09-01 14:13:03 -04:00
cookie Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap. 2010-05-27 12:33:54 -07:00
ctypes Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
downloads Bug 674210 - Reduce places.sqlite cache size and reorganize history expiration around the new value. 2011-08-30 16:23:59 +02:00
exthelper Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin. 2011-05-25 10:46:51 +02:00
feeds No bug, dos2unix feed tests, \r=\n DONTBUILD 2011-08-28 19:16:38 -07:00
filepicker Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
find Bug 595513 - Reduce makefile recursion in toolkit. r=khuey 2011-03-08 14:58:46 +11:00
help Backed out changeset ecd1948992eb 2010-10-29 16:07:46 +13:00
intl Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
microformats Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
parentalcontrols Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
passwordmgr Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
perf 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
places Backout 04545026b4ae (Bug 658305) due to increase in reftests shutdown crashes on Linux. 2011-09-01 14:33:15 +02:00
printing Bug 506041 Part 2: Correct misspellings in source code 2010-05-13 14:19:50 +02:00
prompts Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
reflect Bug 590973 - Reflect.parse(): expose to chrome as a toolkit component (r=gal) 2011-06-28 10:57:16 -07:00
remote Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
satchel Bug 668349 - Changes to xpcshell.ini; r=jmaher 2011-08-22 09:00:50 +01:00
search Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
startup Bug 579571 - Remove --enable-timeline support. r=tglek 2011-07-17 12:07:42 +02:00
statusfilter Backed out changeset dc3780dd8a43 (bug 311007). Going to change onLocationChange instead of adding onLocationChange2. 2011-06-14 00:02:28 +02:00
telemetry Bug 680508: disable telemetry for content-processes r=glandium 2011-08-22 11:38:08 -07:00
typeaheadfind Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
url-classifier Bug 675221 part D - Fix up URL classifier to stop using XPCOM proxies, r=dcamp 2011-08-19 11:50:04 -04:00
urlformatter Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
viewconfig Bug 239533 - Add URL parameter support to about:config. r=gavin 2011-08-04 09:05:29 +02:00
viewsource 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
Makefile.in Bug 676293 - Add ability to make 'home screen shortcut' for Bookmarks [r=fabrice, r=blassey] 2011-08-08 22:37:57 -04:00
nsDefaultCLH.js Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes. 2010-06-22 12:59:15 -04:00
nsDefaultCLH.manifest Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes. 2010-06-22 12:59:15 -04:00