Bug 1181501 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

As Android OS, it has ACTION_DOWN and ACTION_UP only. Android's widget dispatches `eKeyPress` after `eKeyDown`. If `eKeyPress` is dispatched automatically on content process, we can remove this emulation.

When using physical keyboard, https://searchfox.org/mozilla-central/rev/95935109bbbd4a39d612a917e59025f9c81f9d76/widget/android/GeckoEditableSupport.cpp#547
When using IME even if direct input, https://searchfox.org/mozilla-central/rev/95935109bbbd4a39d612a917e59025f9c81f9d76/widget/android/GeckoEditableSupport.cpp#960 (no composition only)

Android (GeckoEditable / GeckoEditableSupport)
As Android OS, it has ACTION_DOWN and ACTION_UP only. Android's widget dispatches `eKeyPress` after `eKeyDown`. If `eKeyPress` is dispatched automatically on content process, we can remove this emulation.

When using physical keyboard, https://searchfox.org/mozilla-central/rev/95935109bbbd4a39d612a917e59025f9c81f9d76/widget/android/GeckoEditableSupport.cpp#547
When using IME even if direct input, https://searchfox.org/mozilla-central/rev/95935109bbbd4a39d612a917e59025f9c81f9d76/widget/android/GeckoEditableSupport.cpp#960 (no composition only)

But, actually, we dispatch it on content process. So it may be another case.

Back to Bug 1181501 Comment 3