<?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>218055</bug_id>
          
          <creation_ts>2020-10-21 14:52:54 -0700</creation_ts>
          <short_desc>Support 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>UI Events</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>186680</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Justin Uberti">juberti</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>dbates</cc>
    
    <cc>ggaren</cc>
    
    <cc>hi</cc>
    
    <cc>smoley</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1700405</commentid>
    <comment_count>0</comment_count>
    <who name="Justin Uberti">juberti</who>
    <bug_when>2020-10-21 14:52:54 -0700</bug_when>
    <thetext>This API allows applications to determine which keycodes are mapped to specific keyboard keys on non-QWERTY keyboard layouts. For example, in a FPS game, the player will navigate using the WASD keys on a QWERTY keyboard, but &quot;,AOE&quot; on a Dvorak keyboard.

Providing this information allows a web application to show an appropriate keyboard hint (e.g., &quot;press the [,] key to move forward&quot;) for the current keyboard layout.

Spec: https://wicg.github.io/keyboard-map/.

There are fingerprinting considerations here, as noted in https://wicg.github.io/keyboard-map/#privacy. Given that the mapping between a key and its keycode is shared with the web application whenever a key is pressed (allowing fairly identification of layout with only a couple keys), requiring a user gesture may be sufficient protection.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1700819</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-10-22 13:52:44 -0700</bug_when>
    <thetext>&lt;rdar://problem/70587899&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2011650</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-02-07 22:38:44 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 186680 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>