mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
8bb9ef510a
`RangeBoundaryBase` stores a previous sibling of child node at offset with `mRef`. Therefore, even if the callers check whether its instance points a child node, `mRef` may be `nullptr` when it points first child of its container. So, `GetNextSiblingOfChildAtOffset()` needs to handle the case. This patch adds the crash case test into `test_dom_input_event_on_htmleditor.html` because of a basic behavior. For now, this patch adds 2 chunks which are coded with using same style as previous ones. However, the test should be redesigned later for making non-dependency of each chunk guaranteed. (The new chunks are completely independent from previously running tests.) Differential Revision: https://phabricator.services.mozilla.com/D89440 |
||
---|---|---|
.. | ||
composer | ||
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 |