Contact emails
gar...@chromium.org, joe...@chromium.org, den...@chromium.org
Explainer
https://github.com/WICG/keyboard-map/blob/master/explainer.md
Spec
https://wicg.github.io/keyboard-map/
Summary
An API that returns a map which translates from `KeyboardEvent.code` values into a strings that can be shown to the user to identify each key.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/m0OOlPJGNTY
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Supported on all desktop platforms: Linux, Windows, Mac and ChromeOS.
No immediate plans to support this on mobile.
Debuggability
The Keyboard Layout Map is returned as a standard maplike object, which can be inspected in devtools.
Risks
Interoperability and Compatibility
Minimal - introducing a single new simple API. General agreement that this is a useful thing for the Web Platform, but no indications of support in other browsers.
Firefox: No public signals (although have been involved in discussions about API)
Edge: No public signals Safari: No public signals Web developers: Positive
Ergonomics
Are there any other platform APIs this feature will frequently be used in tandem with?
Possibly with Keyboard Lock (e.g., for games that want to capture events fullscreen). More generally with standard KeyboardEvents.
Could the default usage of this API make it hard for Chrome to maintain good performance (i.e. synchronous return, must run on a certain thread, guaranteed return timing)?
API returns a Promise and it should be rarely called (typically only during UX setup screens).
Activation
Will it be challenging for developers to take advantage of this feature immediately, as-is?
No
Would this feature benefit from having polyfills, significant documentation and outreach, and/or libraries built on top of it to make it easier to use?
A basic polyfill that always returns US-QWERTY data would be useful. One has been started here: https://github.com/WICG/keyboard-map/blob/master/keyboard-polyfill.js although it needs to be updated to return a maplike.
Is this feature fully tested by web-platform-tests? Link to test suite results from wpt.fyi.
https://github.com/web-platform-tests/wpt/tree/master/keyboard-map
https://wpt.fyi/results/keyboard-map
Entry on the feature dashboard
https://www.chromestatus.com/features/6730004075380736
Launch Tracking Bug
https://bugs.chromium.org/p/chromium/issues/detail?id=831743
--
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.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGnkXoFfVfpUXL2b%2Bs%3D8y_mXjtOKqxekb%2B4LnS9eNfZkb%2BS%2BKg%40mail.gmail.com.
--
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.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/op.zkldgizhrbppqq%40cicero2.linkoping.osa.
Yes, this was discussed in the TAG review (https://github.com/WICG/keyboard-map/issues/8) and it is explicitly covered in the Privacy section (https://wicg.github.io/keyboard-map/#privacy). Please let me know if you think there should be additional information there.
On Thu, Jun 14, 2018 at 1:32 AM Boris Zbarsky <bzba...@mit.edu> wrote:On 6/13/18 3:53 PM, 'Gary Kačmarčík (Кошмарчик)' via blink-dev wrote:
> https://wicg.github.io/keyboard-map/
Has there been any thought about the increased fingerprinting surface?
I know that would come up as one of the first questions in a Firefox
intent to ship for something like this...
-Boris
--
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.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGnkXoFF9vWqcgL2b3jPXKCoc2R9aomNT8%3Da9-c9qrc0Bio3vg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGnkXoFEXhHeWnqK%2B7Bu8gDJYotjyR40P3VD63hpzJ_ytvZgNg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGnkXoFF9vWqcgL2b3jPXKCoc2R9aomNT8%3Da9-c9qrc0Bio3vg%40mail.gmail.com.
In order reduce the fingerprinting impact, have you considered:* disallowing use in 3rd-party iframes?* requiring a user interaction with the frame?
* making the feature https-only?