mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
fcb248a698
On Android, GeckoEditableSupport has already dispatched eKeyDown event and eKeyUp event even during composition. I.e., the pref which will be enabled by bug 354358 has already been set to true only on Android. On the other hand, GeckoEditableSupport does not dispatch them if content listens to "input", "compositionstart", "compositionupdate" or "compositionend". So, different from the other platforms, we need additional pref to make the new behavior behind pref. Therefore, this patch adds a new pref, "intl.ime.hack.on_any_apps.fire_key_events_for_composition", to override existing "intl.ime.hack.on_ime_unaware_apps.fire_key_events_for_composition" pref. And sets mKeyCode and mKeyNameIndex of the dummy KeyboardEvents to NS_VK_PROCESSKEY and KEY_NAME_INDEX_Process. MozReview-Commit-ID: Fuy0Ir2xiO5 --HG-- extra : rebase_source : c76b613ea186458ebdf0d67f4bc984e8ac5f1041 |
||
---|---|---|
.. | ||
browser | ||
moz.build |