зеркало из https://github.com/mozilla/gecko-dev.git
3da37cfebe
This code is used to detect too-early accesses of prefs in content processes. The patch makes the following changes. - New terminology: "early" prefs are those sent via the command line; "late" prefs are those sent via IPC. Previously the former were "init" prefs and the latter didn't have a clear name. - The phase tracking and checking is now almost completely encapsulated within Preferences.cpp. The only exposure to outside code is via the AreAllPrefsSetInContentProcess() method, which has a single use. - The number of states tracked drops from 5 to 3. There's no need to track the beginning of the pref-setting operations, because we only need to know if they've finished. (This also avoids the weirdness where we could transition from END_INIT_PREFS back to BEGIN_INIT_PREFS because of the way -intPrefs, -boolPrefs and -stringPrefs were parsed separately.) MozReview-Commit-ID: IVJWiDxdsDV --HG-- extra : rebase_source : 8cee1dcbd40847bf052ca9e2b759dd550350e5a1 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libbz2 | ||
libjar | ||
libmar | ||
libpref | ||
pdfium | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |