gecko-dev/modules/libpref
Nicholas Nethercote ec0336e701 Bug 1569526 - Don't use default values as fallbacks for VarCache prefs. r=froydnj
This patch changes how a VarCache pref works when deleted (in some cases) --
the VarCache variable keeps its existing value instead of being reset to a
pre-specified default.

In bug 1570212 I have made sure that no VarCache prefs exhibit this behaviour
in practice any more, so this change should not affect functionality. There is
an assertion that checks this.

The next patch will take advantage of this change by removing the need to
store the pre-specified defaults, which will save memory.

Differential Revision: https://phabricator.services.mozilla.com/D39805

--HG--
extra : moz-landing-system : lando
2019-08-09 00:59:34 +00:00
..
docs Bug 1572092 - Improve pref documentation for sync r=njn 2019-08-08 00:51:39 +00:00
init Bug 1570212 - Remove privacy.resistFingerprinting.* VarCache prefs. r=tjr 2019-08-09 00:59:21 +00:00
parser Bug 1559642 - Fix -D ellipsis-inclusive-range-patterns warnings. r=froydnj 2019-06-19 23:58:54 +00:00
test Bug 1563555 - Generate static pref getters usable from Rust code. r=glandium 2019-08-07 05:16:55 +00:00
components.conf Bug 1550422 - P7. Add VR process selector to prefs module. r=spohl 2019-05-25 10:12:43 +00:00
greprefs.js Bug 1571934 - Inline security-prefs.js into all.js. r=keeler 2019-08-07 17:41:22 +00:00
moz.build Bug 1563555 - Generate static pref getters usable from Rust code. r=glandium 2019-08-07 05:16:55 +00:00
nsIPrefBranch.idl Bug 1557501. Stop using [array] in nsIPrefBranch. r=njn 2019-06-07 01:01:12 +00:00
nsIPrefLocalizedString.idl Bug 1545851, part 2 - Mark nsISupportsPrimitive and subinterfaces as builtinclass. r=froydnj 2019-04-22 14:35:18 +00:00
nsIPrefService.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIRelativeFilePref.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsRelativeFilePref.h
Preferences.cpp Bug 1569526 - Don't use default values as fallbacks for VarCache prefs. r=froydnj 2019-08-09 00:59:34 +00:00
Preferences.h Bug 1567074 - Document libpref properly. r=jya 2019-08-01 02:11:07 +00:00
SharedPrefMap.cpp Bug 1554559 - P2. Add option for pref entry in SharedPrefMap to be skipped by iterator. r=njn 2019-06-11 06:29:26 +00:00
SharedPrefMap.h Bug 1562436 - Adjust first pref returned if it is to be skipped. r=njn 2019-07-01 23:49:41 +00:00
StaticPrefsBase.h Bug 1569835 - Don't record accesses to static preference atomics, r=njn. 2019-08-03 05:14:07 +00:00