Commit Graph

37 Commits

Author SHA1 Message Date
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Andrew Halberstadt
11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Shu-yu Guo
40c62f33a5 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Michael Pruett
0d8b361f8c Bug 1057901 - Adopt template strings for SQL statements in content preferences. r=adw 2014-08-26 18:33:17 -05:00
Mihnea Dobrescu-Balaur
74a3f75dc4 Bug 888526 - Use the profile dir instead of the bin dir for contentpref xpcshell tests. r=ted 2013-07-11 15:10:28 -07:00
Ehsan Akhgari
822493fa64 Bug 806735 - Remove the final global PB specific stuff from test_bug679784.js; r=jdm 2012-10-30 17:46:43 -04:00
Ehsan Akhgari
65e6c3bc2f Bug 806734 - Remove the final global PB specific stuff from test_bug248970.js; r=jdm 2012-10-30 17:46:01 -04:00
Josh Matthews
0dadc924c1 Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan 2012-06-30 07:50:07 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01: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
Joel Maher
39ca77fbd2 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -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
Felipe Gomes
0ec7d82f1e Bug 559992. Implement a caching mechanism for the contentprefs service and use it to retrieve page-specific zoom values, avoiding zoom flicker with back/forward navigation. r=gavin sr=vlad a=blocking-betaN 2010-12-28 12:45:04 -08:00
Felipe Gomes
edc0cf7fdb Back out 435b65622b7b due to orange. a=backout 2010-12-28 12:09:37 -08:00
Felipe Gomes
0b2c9089f7 Bug 559992. Implement a caching mechanism for the contentprefs service and use it to retrieve page-specific zoom values, avoiding zoom flicker with back/forward navigation. r=gavin sr=vlad a=blocking-betaN 2010-12-28 11:05:08 -08:00
Josh Matthews
55554404f7 Bug 602294 - Unregister directory provider to stop tests leaking. 2010-10-06 15:25:08 -04:00
Alon Zakai
79d23e272b Bug 584842 - nsIContentPrefService remoting. r=myk a=blocking-fennec=2.0b1 2010-09-07 12:16:43 -07:00
Doug Turner
ac6a106efd Backed out changeset 38b763292cb1. MacOS doesn't support E10S tests. a=bah 2010-09-03 22:56:49 -07:00
Alon Zakai
5ded0c957c 584842 - E10s nsIContentPrefService remoting implementation r=myk, a=blocking-fennec 2010-09-03 21:48:17 -07:00
Ryan Flint
1c7cd58cd5 Bug 546445 - Asynchronous getPref triggers debug assertion when shutting down sqlite. r=sdwilsh 2010-02-23 12:19:36 -05:00
Ryan Flint
5283bf5c75 Disable test 2010-02-09 06:29:36 -05:00
Ryan Flint
badb4dd9ea Bug 539907 - Have getPref use asynchronous statements when called with an optional callback. r=myk, sr=robstrong 2010-02-09 05:28:39 -05:00
Geoff Lankow
467e337bfa Bug 537189 - Ensure no data is left behind after removing prefs via 'removePrefsByName' and 'removeGroupedPrefs', r=myk 2010-01-05 18:38:06 -05:00
Paul O’Shannessy
6b3f22aba3 Bug 518453 - Storage usage changes: Don't create statement wrapper & don't use step(). r=myk 2009-09-25 15:32:21 -07:00
Geoff Lankow
eb2c5ee220 Bug 506799 - "nsIContentPrefService should accept string arguments for URI as well as nsIURI" [r=myk sr=mconnor] 2009-09-04 21:22:19 -05:00
Dão Gottwald
1c307d9f5b Backed out changeset 012d3f753a28 2009-08-28 22:54:33 +02:00
Geoff Lankow
2ac066d24b Bug 506799 - nsIContentPrefService should accept string arguments for URI as well as nsIURI. r=myk, sr=mconnor 2009-08-28 20:42:01 +02:00
Geoff Lankow
11dd3193b8 Bug 503971 - nsIContentPrefService methods should throw when passed a null setting name; r=myk sr=mconnor 2009-08-24 19:12:04 +02:00
Geoff Lankow
acd16954a8 Bug 458299 - nsIContentPrefService should provide an interface for listing stored prefs; r=(gavin.sharp + myk) 2009-07-27 18:13:15 +02:00
Daniel Holbert
37cf5be52d Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Johnathan Nightingale
ee4a641c1c Expose site-specific settings in CRH dialog. b=380852, r=gavin 2009-01-20 10:59:49 -05:00
Ehsan Akhgari
87a1699e2a Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [unit test API changes]; r,sr=mconnor 2008-11-04 02:52:22 +03:30
Ehsan Akhgari
a0475aa03c Bug 248970 - Private Browsing mode (global toggle for saving/caching everything) [contentprefs part]; r=mconnor 2008-10-20 00:46:22 +03:30
387365bd96 bug 417732: fix delay and disk activity when full/text zooming by turning PRAGMA SYNCHRONOUS off for the content prefs database; r=mconnor, a=shaver 2008-05-25 18:05:00 -07:00
529ea11830 Bustage fix for bug 416208 testcase 2008-02-25 15:47:44 -08:00
0dd7550ce0 bug 416208: update content pref service to reflect changes to mozIStorageService::openDatabase and improve robustness against database file and schema corruption; r=sdwilsh, a=dsicore 2008-02-25 14:07:52 -08:00
9e7a4d5027 bug 378547: site-specific preference service
r=mconnor
2007-06-19 11:51:09 -07:00