gecko-dev/modules/libpref
Doug Thayer 3f6bd77954 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 07:30:21 +00:00
..
docs Bug 1322254 - Remove network.disable.ipc.security pref r=valentin,necko-reviewers 2020-04-24 17:42:35 +00:00
init Bug 1630655 - Actually advance lateWriteChecksStage to 3 r=erahm 2020-04-23 16:43:17 +00:00
parser Bug 1624391 - Allow prefs parser pref types and values to be more easily accessed so that we can read a pref value for the update URL r=njn 2020-04-17 20:47:02 +00:00
test Bug 1606182 - add python-test using python3 to make check r=Callek 2019-12-30 18:02:23 +00:00
components.conf
greprefs.js
moz.build Bug 616849 - Made insecure form submission prompt tab modal. r=johannh,baku 2020-04-20 13:56:02 +00:00
nsIPrefBranch.idl
nsIPrefLocalizedString.idl
nsIPrefService.idl
nsIRelativeFilePref.idl
nsRelativeFilePref.h
Preferences.cpp Bug 1630655 - Ensure PreferencesWriter::Flush actually flushes r=njn 2020-04-24 07:30:21 +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
SharedPrefMap.h
StaticPrefsBase.h Bug 1625138 - Part 35: Replace mozilla::TrueType with std::true_type. r=froydnj,jgilbert 2020-03-28 13:57:20 +00:00