зеркало из https://github.com/mozilla/gecko-dev.git
dddc25e1e9
Previously, `runRemoveContentTest()` was the last test which synthesizes composition in the `<textarea>`. However, new test order move it to middle of the other tests. Then, it hits an `MOZ_ASSERT()` in `TextComposition::EditorWillHandleCompositionChangeEvent()` that detects a bug. When editable element is removed from the DOM tree during a composition, editor cannot listen to `eCompositionEnd` event. Therefore, when the editor gets back, it still has destroyed `TextComposition` and keeps handling new composition with the old one. Therefore this patch makes `EditorBase::InstallEventListeners()` forget the destroyed composition. Differential Revision: https://phabricator.services.mozilla.com/D37061 --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 |