Description[Mac] Pressing unsupported key should not generate keyevents
On Mac with an external JIS PC keyboard, pressing "Convert",
"NonConvert" and "KanaMode" keys will always produce |NSFlagsChanged|
NSEvent with |keycode| == 255. Which will then cause blink to fire two
"keydown" events.
These three keys do not exist in Apple's Japanese keyboard, and there
is no way for us to distinguish them or get any useful information (and it requires hack to mock "keydown"/"keyup").
Safari generates two "keydown"s (with no useful information).
Firefox does not generate keyevents for these keys, this CL matches Firefox's bahavior.
BUG=601964
Committed: https://crrev.com/bac970b73d720af26ca715c1e001703217e2cfa3
Cr-Commit-Position: refs/heads/master@{#389878}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|