<?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>250589</bug_id>
          
          <creation_ts>2023-01-13 11:57:19 -0800</creation_ts>
          <short_desc>[WebAuthn] Conditional passkey request presents conditional control even after AbortController.abort()</short_desc>
          <delta_ts>2023-02-22 19:47:34 -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>Forms</component>
          <version>Safari 16</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Jonathan Hurshman">jhurshman</reporter>
          <assigned_to name="pascoe@apple.com">pascoe</assigned_to>
          <cc>cdumez</cc>
    
    <cc>mathieu.perreault</cc>
    
    <cc>matthew</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>1925411</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Hurshman">jhurshman</who>
    <bug_when>2023-01-13 11:57:19 -0800</bug_when>
    <thetext>Steps to reproduce:
1. Set up an AbortController
2. &lt;input autocomplete=&quot;username webauthn&quot;&gt; and a button whose click handler will call the abortController.abort(), hide the username, and show a password control.
3. Perform webauthn get with conditional mediation:
navigator.credentials.get({
  signal: abortController.signal,
  mediation: &apos;conditional&apos;,
  publicKey: {
    challenge: &lt;challengeFromServer&gt;,
  },
  allowCredentials: []
});
3. Click the input, conditional UI appears.
4. Click the abort control.
6. Set focus to the password field.
7. Conditional UI appears again. (If user attempts to use the passkey, console shows error &quot;AbortError: Aborted by AbortSignal&quot;.)

Expected behavior:
In step 7, no conditional UI should be displayed, since the get has been aborted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1926992</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-01-20 11:58:13 -0800</bug_when>
    <thetext>&lt;rdar://problem/104485543&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1930092</commentid>
    <comment_count>2</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2023-02-01 06:50:41 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/9449</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1930480</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-02-02 08:19:30 -0800</bug_when>
    <thetext>Committed 259754@main (ba76ae810b9d): &lt;https://commits.webkit.org/259754@main&gt;

Reviewed commits have been landed. Closing PR #9449 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1931853</commentid>
    <comment_count>4</comment_count>
    <who name="pascoe@apple.com">pascoe</who>
    <bug_when>2023-02-07 14:59:50 -0800</bug_when>
    <thetext>*** Bug 251817 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1933476</commentid>
    <comment_count>5</comment_count>
    <who name="Mathieu Perreault">mathieu.perreault</who>
    <bug_when>2023-02-14 07:10:51 -0800</bug_when>
    <thetext>Very happy to see this issue being fixed! Could someone advise on which Safari/iOS version we could see this commit in (Beta, etc.)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1936053</commentid>
    <comment_count>6</comment_count>
    <who name="Matthew Miller (Cisco)">matthew</who>
    <bug_when>2023-02-22 19:47:34 -0800</bug_when>
    <thetext>Release notes for Safari Technology Preview 164 mention that the fix for this issue is included in the release! 🎉

https://developer.apple.com/safari/technology-preview/release-notes/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>