Commit Graph

73 Commits

Author SHA1 Message Date
Ehsan Akhgari
613bcb614f Bug 482051 - Remove mentions of the browser.privatebrowsing.keep_current_session pref; r=jdm 2015-04-02 22:33:06 -04:00
Wes Kocher
4027ad6f0e Backed out changeset 8bfc506611fc (bug 482051) for bc1 orange 2015-04-02 16:07:18 -07:00
Ehsan Akhgari
80fe7cc780 Bug 482051 - Remove mentions of the browser.privatebrowsing.keep_current_session pref; r=jdm 2015-04-02 17:58:21 -04:00
Andrew Halberstadt
11b824f09b Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Tomasz Kołodziejski
924eebb0e0 Bug 1058435 - Add removeAllDomainsSince to ContentPrefService2. r=adw 2014-09-19 14:24:00 -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
Blake Kaplan
addb9c1166 Bug 1027898 - Implement most of nsIContentPrefService2 for e10s. r=adw 2014-08-11 11:13:36 -07:00
Bobby Holley
6715f9e917 Bug 997440 - Fix some error reporting nastiness in the CPS tests. r=bz 2014-05-20 22:52:19 -07:00
Geoff Lankow
0ea308bc76 Bug 974295 - Replacement for getPrefsByName in nsIContentPrefService2; r=adw 2014-02-22 16:50:53 +13:00
Gregory Szorc
dffb8830ba Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.
2014-02-06 13:00:20 -08:00
Mike Hommey
7f7e4faac1 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Gregory Szorc
189afd1a65 Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted 2013-09-24 11:50:08 -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
Bobby Holley
c252a06b0e Bug 889911 - Fix tests that unconditionally throw for things reported to the console. r=mrbkap
When we start sending everything reported to the JSErrorReporter to the console,
these tests end up getting confused by warnings.
2013-07-16 20:38:44 -07: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
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
Gregory Szorc
94638f8bda Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Joey Armstrong
6af3f1ee26 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Joey Armstrong
6a224ff449 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Kyle Machulis
331f36baa9 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Drew Willcoxon
2480a4564f Bug 829456 - Update browser-fullZoom.js to use nsIContentPrefService2. r=mak 2013-03-16 15:12:31 -07:00
Kyle Machulis
ec9b53db93 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
0419a0b889 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-03-29 13:56:18 -07:00
Ryan VanderMeulen
8cdb6b28db Backed out changeset 74ca9737e076 (bug 829456)on suspicion of making bug 807442 nearly perma-fail on debug builds on a CLOSED TREE. 2013-03-26 15:45:57 -04:00
Drew Willcoxon
369e6ca552 Bug 829456 - Update browser-fullZoom.js to use nsIContentPrefService2. r=mak 2013-03-16 15:12:31 -07:00
Mike Shal
24be52d653 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Phil Ringnalda
7967b99f23 Back out 85f522534c5a (bug 829456) for apparently causing frequent failures in test_bug607464.html
CLOSED TREE
2013-03-16 18:28:48 -07:00
Drew Willcoxon
61a2c55fbf Bug 829456 - Update browser-fullZoom.js to use nsIContentPrefService2. r=mak 2013-03-16 15:12:31 -07:00
Gregory Szorc
f96c000ea2 Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted 2013-02-25 13:19:09 -08: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
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
Philipp von Weitershausen
0829e9bcf4 Bug 776825 - Separate message managers into senders and broadcasters. r=smaug 2012-08-27 11:13:02 -03:00
Mike Hommey
0f9f294ea0 Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02: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
Matheus Kerschbaum
9014e25ac7 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg 2011-04-02 19:14:00 -07: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