gecko-dev/modules/libpref
Doug Thayer a62f246df0 Bug 1630655 - Ensure PreferencesWriter::Flush actually flushes r=njn
I'm not positive that the intended behavior of PreferencesWriter::Flush
is to ensure that any pending writes to the preferences file are
completed, but that seems like what it ought to be for, and it does
not look water-tight. For one, adding a sync runnable to a thread pool
will not ensure that any previously submitted runnables have completed
by the time it returns. And two, the exchange on sPendingWriteData only
guarantees that the write has started.

This change simply ensures that the write to disk has been completed
before returning.

Differential Revision: https://phabricator.services.mozilla.com/D72016
2020-04-24 23:56:02 +00:00
..
docs Bug 1632279 - Disallow default pref definitions in user pref files. r=KrisWright 2020-04-29 21:47:12 +00:00
init Bug 1632417 - Enable cookie purging by default in early beta. r=ewright 2020-04-30 13:55:20 +00:00
parser Bug 1632279 - Disallow default pref definitions in user pref files. r=KrisWright 2020-04-29 21:47:12 +00:00
test Bug 1632279 - Disallow default pref definitions in user pref files. r=KrisWright 2020-04-29 21:47:12 +00:00
Preferences.cpp Bug 1630655 - Ensure PreferencesWriter::Flush actually flushes r=njn 2020-04-24 23:56:02 +00:00
Preferences.h Bug 1579367 - Initialize XPCJSContext explicitly, after loading user prefs. r=kmag 2019-11-22 12:40:17 +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 1625138 - Part 35: Replace mozilla::TrueType with std::true_type. r=froydnj,jgilbert 2020-03-28 13:57:20 +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 1576546 - Add various explanatory comments to the top of prefs files. r=KrisWright 2019-08-26 16:40:10 +00:00
moz.build Bug 616849 - Made insecure form submission prompt tab modal. r=johannh,baku 2020-04-20 13:56:02 +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