mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
20ffb0878f
libpref only allows pref modifications in the parent process. This patch tightens up the checking, which is a bit inconsistent. - It removes ENSURE_MAIN_PROCESS_WITH_WARNING, which does NS_WARNING on failure, and replaces its uses with ENSURE_MAIN_PROCESS, which does NS_ERROR on failure. This required adding an XRE_IsParentProcess() check to one place in editor/. - It converts XRE_IsContentProcess() tests to !XRE_IsParentProcess(), because we now have multiple kinds of non-parent process. - It uses ENSURE_MAIN_PROCESS to replace other checking code in a few places. - It improves a comment in HandleDirty(). MozReview-Commit-ID: D8znQWH7ery --HG-- extra : rebase_source : ea0fc095b31525bde82a1be217923512d030b76d |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libbz2 | ||
libjar | ||
libmar | ||
libpref | ||
pdfium | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |