mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-24 16:54:08 +00:00
cbb83f40f6
This is a bug of the assertion. When there is 2 text nodes are adjacent, one ends with a visible character and the other starts with a white-space, and the deleting range ends at end of the first one, `GetReplaceRangeDataAtEndOfDeletionRange()` returns a range starting with the start of the second one since it does not need to touch the first one. Therefore, the white-space range start may be after the deleting range end. This patch adds new condition to the `MOZ_ASSERT_IF`, and test this specific case with new `MOZ_ASSERT_IF`. Differential Revision: https://phabricator.services.mozilla.com/D110068 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |