DescriptionAdded code and key to KeyboardEventInit
Since
[RuntimeEnabled=KeyboardEventKey] readonly attribute DOMString key;
[RuntimeEnabled=KeyboardEventCode] readonly attribute DOMString code;
we can pass code and key in KeyboardEventInit but won't be able to access it unless the flags are enabled.
code and key are supported in Firefox
BUG=327853
Committed: https://crrev.com/ec4421ab094294f7c13f21d91c1ab56c6cba068e
Cr-Commit-Position: refs/heads/master@{#362025}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Make code/key RuntimeEnabled #
Messages
Total messages: 15 (6 generated)
|