gecko-dev/editor
Masayuki Nakano 91fed01266 Bug 1723895 - Make WhiteSpaceVisibilityKeeper::ReplaceText() call GetInclusiveNextNBSPPointIfNeedToReplaceWithASCIIWhiteSpace with end of the replacing range instead of start of it r=m_kato
It tries to replace a following NBSP with an ASCII white-space if there is.
However, it calls the scan method with start of the replacing range.  Therefore,
the assertion in `GetInclusiveNextNBSPPointIfNeedToReplaceWithASCIIWhiteSpace()`
detects this bug.

Note that this occurs only when updating composition string because it's
called with non-collapsed range only for doing it.  Otherwise, selected range
has already been deleted by `HTMLEditor::DeleteSelectionAsSubAction()`.

Unfortunately, I don't have how to make this bug appear.  It seems that the
path does nothing in the wild because it tries to replace a first character
of composition string from an NBSP to a normal white-space, but it'll be
replaced with new composition string anyway.  Therefore, this patch does not
have new tests.

Differential Revision: https://phabricator.services.mozilla.com/D122182
2021-08-10 23:41:19 +00:00
..
composer Bug 1676702 - part 2: Make TextControlState initialize TextEditor with PasswordMaskData r=m_kato 2021-06-28 04:37:54 +00:00
docs Bug 1687167 - Move IME handling guide to source tree. r=masayuki DONTBUILD 2021-01-19 06:07:27 +00:00
libeditor Bug 1723895 - Make WhiteSpaceVisibilityKeeper::ReplaceText() call GetInclusiveNextNBSPPointIfNeedToReplaceWithASCIIWhiteSpace with end of the replacing range instead of start of it r=m_kato 2021-08-10 23:41:19 +00:00
reftests Bug 1724296 - Remove many skip-if(verify) test annotations (reftest-plain); r=jmaher 2021-08-06 13:25:49 +00:00
spellchecker Bug 1724718 - forget AddTask.js ever existed as bug 1544051 already removed it, r=bgrins 2021-08-10 22:33:06 +00:00
txmgr Bug 1683534 - Make editor buildable outside of unified-build environment. r=sg 2021-01-04 14:18:50 +00:00
AsyncSpellCheckTestHelper.jsm
moz.build Bug 1717178 - part 7: Get rid of nsIEditor::AddEditorObserver() and nsIEditorObserver interface because of unused r=m_kato 2021-06-28 12:08:51 +00:00
nsIDocumentStateListener.idl
nsIEditActionListener.idl
nsIEditor.idl Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
nsIEditorMailSupport.idl
nsIEditorSpellCheck.idl Bug 1719110 - Add nsIEditorSpellCheck.suggest to get rid of PRemoteSpellcheckEngine.CheckAndSuggest. r=masayuki 2021-08-10 03:55:25 +00:00
nsIHTMLAbsPosEditor.idl Bug 1717178 - part 2: Get rid of nsIHTMLAbsPosEditor.refreshGrabber() because of unused r=m_kato 2021-06-28 12:08:49 +00:00
nsIHTMLEditor.idl Bug 1717178 - part 6: Get rid of nsIHTMLEditor.setCaretAfterElement() because of unused r=m_kato 2021-06-28 12:08:51 +00:00
nsIHTMLInlineTableEditor.idl Bug 1717178 - part 1: Get rid of nsIHTMLInlineTableEditor.refreshInlineTableEditingUI() because of unused r=m_kato 2021-06-28 12:08:49 +00:00
nsIHTMLObjectResizer.idl Bug 1717178 - part 3: Get rid of nsIHTMLObjectResizer.refreshResizers() because of unused r=m_kato 2021-06-28 12:08:49 +00:00
nsITableEditor.idl Bug 1671556 - part 2: Replace nsITableEditor.getFirstSelectedCell() and nsITableEditor.getNextSelectedCell() with nsITableEditor.getSelectedCells() r=m_kato 2020-10-24 04:12:38 +00:00