зеркало из https://github.com/mozilla/gecko-dev.git
4fe540db19
`WSRunObject` scans previous and next node of given point/range **without** checking editing host boundary. Therefore, its methods may return non-editable nodes or editable nodes in another editing host. In such cases, `HTMLEditRules` is confused. This patch makes it store editing host at initialization and it check the boundary. However, the former cost may appear in score of some benchmark tests, but we shouldn't allow attackers to use this entrance. Differential Revision: https://phabricator.services.mozilla.com/D32467 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl | ||
nsIURIRefObject.idl |