Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[embedlite] Don't dispatch NS_COMPOSITION_UPDATE to widget
NS_COMPOSITION_UPDATE is supposed to be dispatched by TextComposition upon changing a composition string with NS_COMPOSITION_CHANGE. Otherwise an assertion in dom/events/IMEStateManager.cpp gets triggered: "compositionupdate event shouldn't be dispatched manually". Also according to https://developer.mozilla.org/en-US/docs/Mozilla/IME_handling_guide WidgetCompositionEvent.mRanges must not be null when event message is NS_COMPOSITION_CHANGE. JB#25378
- Loading branch information
Showing
1 changed file
with
21 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters