Contact emails sni...@microsoft.com<mailto:sni...@microsoft.com>
Explainer https://github.com/WICG/keyboard-map/issues/38 Specification https://wicg.github.io/keyboard-map/#permissions-policy Summary getLayoutMap() used in conjunction with code solves the problem of identifying the actual key pressed in keyboard with different layout maps such as English vs French keyboards, but since getLayoutMap() isn't available in all contexts (can't be used inside iframes), Office web apps like Excel, Word, PowerPoint, etc. that show up as embedded experiences in Outlook Web, Teams, etc. and are running in iframes, can't use this API. Adding keyboard-map to the allow attribute list solves this problem. See this<https://github.com/WICG/keyboard-map/issues/38> Github issue for more info. Blink component Blink<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink> Search tags keyboard-map<https://www.chromestatus.com/features#tags:keyboard-map>, Keyboard<https://www.chromestatus.com/features#tags:Keyboard> TAG review Not applicable as this is API has been shipped. TAG review status Not applicable Risks Interoperability and Compatibility Currently Keyboard API is not supported on Safari and Firefox so interop risk is minimal. Moreover, this proposal only allows the usage of the Keyboard API inside an iframe if it's explicitly specified in the allow attribute list by the web author. The feature policy names are based on the permission names, which have been part of the permission policy spec<https://w3c.github.io/webappsec-permissions-policy/>. Gecko: Negative (https://github.com/mozilla/standards-positions/pull/310) WebKit: Negative (https://github.com/WICG/keyboard-map/issues/30#issue-487691188) Web developers: Positive (https://github.com/WICG/keyboard-map/issues/38#issue-934823530) Ergonomics None. Activation None. Security While there are fingerprinting concerns, this API has been shipped in Chrome 69 and adding to the allow attribute list (like HID, clipboard-read/write etc) allows sites like Office web apps to use this API. The default value would be "self" (= top-level browsing context) but sites could add it to allow list to access within iframe context. Debuggability The allow attribute has basic tooling support as described in this<https://docs.google.com/document/d/1eJn5QIX4JFGackDYmdLxWXEmTDkSGj_ZGz5XY4uCKbY/edit> doc. Is this feature fully tested by web-platform-tests<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>? Yes Requires code in //chrome? False Tracking bug https://bugs.chromium.org/p/chromium/issues/detail?id=1258242 Estimated milestones 97 Link to entry on the Chrome Platform Status https://www.chromestatus.com/feature/5657965899022336 This intent message was generated by Chrome Platform Status<https://www.chromestatus.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+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/DM5PR00MB0390457E10CC696882CE256BCFB59%40DM5PR00MB0390.namprd00.prod.outlook.com.