gecko-dev/editor/spellchecker/tests
Masayuki Nakano d7fa9ea462 Bug 1729653 - Make `mozInlineSpellChecker` handle events in the system group at capturing phase r=m_kato
Currently, `mozInlineSpellChecker` handles events in the default group.  This
means that the listener may not run if web app stops the propagation.  For
keeping the event listener order as far as possible, this patch changes to
listen to the event at capturing phase in the system group (editor handles
the events at bubbling phase in the system group).

Additionally, it listens to `keypress` events for handling caret/selection
changes.  However, they should be handled at `keydown` because those keys
are not printable.  Therefore, this patch changes to listen to `keydown`
events, but this could change the race between running the scheduled spellcheck
and following `keypress` event which is dispatched only for chrome code and
C++ event listeners.  However, this may not change it actually because the
race is changed only when the following `keypress` event delays too much.
https://searchfox.org/mozilla-central/rev/2eebd6e256fa0355e08421265e57ee1307836d92/extensions/spellcheck/src/mozInlineSpellChecker.cpp#503-504

Differential Revision: https://phabricator.services.mozilla.com/D126635
2021-09-28 02:47:15 +00:00
..
de-DE
en-AU
en-GB
.eslintrc.js
bug678842_subframe.html
bug717433_subframe.html
bug1200533_subframe.html
bug1204147_subframe.html
bug1204147_subframe2.html
chrome.ini Bug 1726532 - part 1: Make `OffsetEntryArray::WillSetSelection()` use offset in text node when it sets a DOM node point r=m_kato 2021-08-24 03:29:21 +00:00
mochitest.ini Bug 1729653 - Make `mozInlineSpellChecker` handle events in the system group at capturing phase r=m_kato 2021-09-28 02:47:15 +00:00
spellcheck.js
test_async_UpdateCurrentDictionary.html
test_bug338427.html
test_bug366682.html
test_bug432225.html
test_bug484181.html
test_bug596333.html
test_bug636465.html
test_bug678842.html
test_bug697981.html
test_bug717433.html
test_bug1100966.html
test_bug1154791.html
test_bug1200533.html
test_bug1204147.html
test_bug1205983.html
test_bug1209414.html
test_bug1219928.html
test_bug1365383.html
test_bug1368544.html
test_bug1418629.html Bug 1724718 - forget AddTask.js ever existed as bug 1544051 already removed it, r=bgrins 2021-08-10 22:33:06 +00:00
test_bug1497480.html
test_bug1602526.html Bug 1724718 - forget AddTask.js ever existed as bug 1544051 already removed it, r=bgrins 2021-08-10 22:33:06 +00:00
test_nsIEditorSpellCheck_ReplaceWord.html Bug 1726532 - part 1: Make `OffsetEntryArray::WillSetSelection()` use offset in text node when it sets a DOM node point r=m_kato 2021-08-24 03:29:21 +00:00
test_spellcheck_after_pressing_navigation_key.html Bug 1729653 - Make `mozInlineSpellChecker` handle events in the system group at capturing phase r=m_kato 2021-09-28 02:47:15 +00:00
test_suggest.html