<?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>244107</bug_id>
          
          <creation_ts>2022-08-18 15:50:48 -0700</creation_ts>
          <short_desc>[WebAuthn] Conditional UI for webauthn autocomplete breaks with multiple input text fields</short_desc>
          <delta_ts>2023-04-11 17:11:00 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <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="Kevin Flanagan">kevin.flanagan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>pascoe</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1892313</commentid>
    <comment_count>0</comment_count>
    <who name="Kevin Flanagan">kevin.flanagan</who>
    <bug_when>2022-08-18 15:50:48 -0700</bug_when>
    <thetext>DescriptionKevin Flanagan 2022-08-18 09:01:21 PDT
On the latest nightly build of Webkit on macOS 13 beta 5 the conditional UI (https://github.com/w3c/webauthn/wiki/Explainer:-WebAuthn-Conditional-UI) functionality for Passkeys only works as long as there is only one &lt;input&gt; text field on the page.

Reproducing Steps:
1. Webpage with &lt;input autocomplete=&quot;webauthn&quot; &gt;
2. Perform webauthn get with a conditional mediation:
navigator.credentials.get({
  mediation: &apos;conditional&apos;,
  publicKey: {
    challenge: &lt;challengeFromServer&gt;,
  }
});
3. Click into the input box - note that the conditional UI appears
4. Add a second &lt;input type=&quot;text&quot;&gt; field to the page (with or without the autocomplete tag). 
5. Perform same webauthn get - the conditional UI autocomplete does not appear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893863</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-25 15:51:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/99159442&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948076</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2023-04-11 17:11:00 -0700</bug_when>
    <thetext>The cause of this bug was outside of WebKit code, so resolving as MOVED.

We believe this is fixed in iOS 16.4.1 and macOS 13.3.1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>