Chromium Code Reviews
DescriptionIgnore key events in renaming inputs when the keyCode is VK_PROCESSKEY(229).
When the key events are consumed by IME, the keyCode in KeyboardEvent.keyCode is
VK_PROCESSKEY, but KeyboardEvent.key can be the original key, like 'Enter'.
As a workaround, we look into keyCode to ignore the consumed key events not to
commit unwanted changes in rename inputs, although the keyCode is deprecated.
BUG=644071
TEST=manually tested using the repro steps described in the bug.
Committed: https://crrev.com/bb7c1663e15a122a64f94f5fac7ca8fdbdf7ec06
Cr-Commit-Position: refs/heads/master@{#416887}
Patch Set 1 #
Messages
Total messages: 11 (5 generated)
|
||||||||||||||||||||||||||||