When EditorEventListener receives keyboard events, it tries to execute native key bindings which are stored by each keyboard event. For performance reason in e10s, TabParent initializes native key binding information of every keyboard event before sending it to the remote process. Therefore, PuppetWidget checks if every keyboard event has native key binding information. However, the native key binding information of dummy keyboard events marked as "processed by IME" on Android are never initialized before sending PuppetWidget. Therefore, we hit MOZ_ASSERT in PuppetWidget. This patch makes GeckoEditableSuppor::SendIMEDummyKeyEvent() set native key binding information to "none" before dispatching every keyboard event since keyboard events during composition shouldn't cause any edit actions. MozReview-Commit-ID: Bk532ahCQP6
52 KiB
52 KiB