зеркало из https://github.com/mozilla/gecko-dev.git
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 |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
txmgr | ||
txtsvc | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsEditorCID.h | ||
nsIContentFilter.idl | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIEditorUtils.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl | ||
nsIURIRefObject.idl | ||
nsPIEditorTransaction.idl |