Primary eng (and PM) emails
Summary
Mark the field keyIdentifier on KeyboardEvent.idl as deprecated.
Motivation
There is a standardized KeyboardEvent.key which other vendors implement. Deprecating the feature is desired to drive adoption of the newly available key field.
Compatibility Risk
Edge, and FireFox do not implement this field so web developers have had to work around the issue for some time.
Alternative implementation suggestion for web developers
Use KeyboardEvent.key
Usage information from UseCounter
The use counter is relatively high with 0.2155%. But I do believe this usage value is inflated due to cloning of all fields in Events by delegation frameworks.
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/features/5316065118650368
Requesting approval to remove too?
No. Ideally since this has been around for a while; I'd like to give probably 4 releases to fully deprecate it. So probably M56. But ideally the motivation of doing this is to call out the usage of KeyboardEvent.key instead.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
From my understanding Chromium does not implement KeyboardEvent.char. So I'll be your hero and remove it :-)
Dave
Here is some analysis. From http archive 4676 resources were loaded that contain the keyword 'keyIdentifier'.
44% closure library:
Chromium should fall into the first case so keyIdentifier won’t be queried.
35% bean js library cloning objects (primarily in gumgum’s ad network code)
https://github.com/fat/bean/blob/0cc7083a8986ca5be15aed721a36579c3adece69/src/bean.js#L104
2.2% AjaxControlToolkit
https://github.com/DevExpress/AjaxControlToolkit/
Not necessary; we generate compatible charCodes.
Shouldn’t be a concern here; only key that would be permitted into this code path that wasn’t previously should be the Enter key. But the IE, FF code paths allow that key so in fact it should be better.
Some old version of dojo (found on a few sites)
Will execute for Chrome because we do put Safari in our user agent string. But will be fine with undefined keyIdentifier
http://www.dhl.hu/js/lib/dojo/dojo.jsFalse reports
Angular.js - just a variable name that has no bearing to KeyEvent
JQuery-Number - commented out
Note that the Developer Tools, the login bubble(?) and more may be using it, so eliminate in-house usage first -For what it is worth, I used keyIdentifier in order to identify keys on a Nokia phone (a phone with actual tone keys, yes). Many non-tone keys on that phone shared the same keyCode and keyIdentifier was the only way to identifier its equivalent of Enter.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
A KeyboardLayoutMap
instance is a read-only Map
-like object, in which each key is a string identifying the unique physical key on the keyboard (a "key code"), and the corresponding value is the associated key attribute value (which may be affected by the keyboard layout, and so on).