fune/editor
Masayuki Nakano 5912f0b3ff Bug 1729480 - Make keypress event listener of editor and execCommand related methods access editor instance after flushing pending layout r=emilio,smaug
I have no idea how to make the test result stable because the intermittent
failure is caused by a race of `IMEContentObserver`'s content query performend
at vsync and `keypress` event after the `keydown` event.  Therefore, I try to
fix the root cause of the failure.

There are two paths reaching a public method of editor with pending
notifications.  One is `keypress` event listener of the editor.  The other is
`execCommand` related methods of `Document`.  Therefore, we should make them
flush pending notifications before accessing editor, but the cost may be too
expensive.  So we should consider whether we should flush pending notifications
or not as far as later.

Note that we cannot fix the `beforeinput` cases because flushing pending
notifications after dispatching `beforeinput` event may cause oranges.  It'll
be fixed while I'm working on bug 1710784.

Differential Revision: https://phabricator.services.mozilla.com/D125805
2021-09-17 17:48:05 +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
libeditor Bug 1729480 - Make keypress event listener of editor and execCommand related methods access editor instance after flushing pending layout r=emilio,smaug 2021-09-17 17:48:05 +00:00
reftests Bug 1724718 - skip some XUL-y tests on android, r=emilio,agi 2021-08-19 12:13:01 +00:00
spellchecker Bug 1730084 Part 4 - Clean up and fix an edge case of FindWord(). r=jfkthame 2021-09-13 23:55:33 +00:00
txmgr
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