Closed Bug 1446253 Opened 5 years ago Closed 5 years ago
Utils .synthesize Composition() dispatch keydown event which is marked as "processed by IME" in default
59 bytes, text/x-review-board-request
We'll start to dispatch "keydown" and "keyup" events during composition. So, when mochitests emulates composition, "keydown" and "keyup" events should be synthesized for checking actual behavior. On the other hand, composition events may be fired without keydown and keyup events if it's caused without keyboard such as voice input or hand writing. So, we still need to provide a way to synthesize composition events without keyboard events though.
Comment on attachment 8959747 [details] Bug 1446253 - Make EventUtils.synthesizeComposition() dispatch keydown and keyup event in default https://reviewboard.mozilla.org/r/228594/#review234438 The flags are a bit confusing, but I don't have better ideas.
Attachment #8959747 - Flags: review?(bugs) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/f035cfad6ac4 Make EventUtils.synthesizeComposition() dispatch keydown and keyup event in default r=smaug
You need to log in before you can comment on or make changes to this bug.