<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>186680</bug_id>
          
          <creation_ts>2018-06-15 10:26:53 -0700</creation_ts>
          <short_desc>Add support for Keyboard Map API</short_desc>
          <delta_ts>2024-02-07 22:38:44 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>garykac</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>akeerthi</cc>
    
    <cc>annevk</cc>
    
    <cc>a_protyasha</cc>
    
    <cc>ap</cc>
    
    <cc>juberti</cc>
    
    <cc>rniwa</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1433441</commentid>
    <comment_count>0</comment_count>
    <who name="">garykac</who>
    <bug_when>2018-06-15 10:26:53 -0700</bug_when>
    <thetext>The Keyboard Map API (`navigator.keyboard.getLayoutMap()`) returns a map which translates from `KeyboardEvent.code` values into a strings that can be shown to the user to identify each key.

This is not possible with existing web platform APIs because the value that should be shown to the user depends on the keyboard layouts that the user has installed and active.

WICG incubation spec: https://wicg.github.io/keyboard-map/

Explainer: https://github.com/WICG/keyboard-map/blob/master/explainer.md</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1433459</commentid>
    <comment_count>1</comment_count>
    <who name="">garykac</who>
    <bug_when>2018-06-15 10:53:26 -0700</bug_when>
    <thetext>For reference, tracking issues in other browsers:

* ChromeStatus: https://www.chromestatus.com/features/6730004075380736
* Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=832811
* Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1469017
* Edge: https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/34574317-support-navigator-keyboard-getlayoutmap-api</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009669</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-01 02:49:54 -0800</bug_when>
    <thetext>https://github.com/mozilla/standards-positions/issues/300

&gt; Only supported by Chromium as of right now.

Web-Spec Link (WICG): https://wicg.github.io/keyboard-map/

We don&apos;t have any WebKit position for this, should we create an entry here: https://github.com/WebKit/standards-positions/issues</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009878</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-01 14:17:52 -0800</bug_when>
    <thetext>WPT Test Coverage - https://wpt.fyi/results/keyboard-map?label=master&amp;label=experimental&amp;aligned&amp;q=keyboard-map</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009884</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2024-02-01 14:25:24 -0800</bug_when>
    <thetext>I&apos;m pretty certain we&apos;re against this API due to privacy &amp; fingerprinting concerns. See https://github.com/WICG/keyboard-map/issues/30</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009885</commentid>
    <comment_count>5</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-01 14:27:15 -0800</bug_when>
    <thetext>(In reply to Ryosuke Niwa from comment #4)
&gt; I&apos;m pretty certain we&apos;re against this API due to privacy &amp; fingerprinting
&gt; concerns. See https://github.com/WICG/keyboard-map/issues/30

Thanks! I just wanted to tidy-up all UI Events related bugs, so I thought to comment and get input. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2011651</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-07 22:38:44 -0800</bug_when>
    <thetext>*** Bug 218055 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>