<?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>281092</bug_id>
          
          <creation_ts>2024-10-08 14:50:09 -0700</creation_ts>
          <short_desc>Updates to getClientCapabilities to match latest WebAuthn spec</short_desc>
          <delta_ts>2025-05-16 16:38:14 -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>WebKit Misc.</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Tim Cappalli">timcappalli</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>agektmr</cc>
    
    <cc>bfulgham</cc>
    
    <cc>garrett_davidson</cc>
    
    <cc>matthew</cc>
    
    <cc>nitinmahendru</cc>
    
    <cc>pascoe</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wilander</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2066308</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Cappalli">timcappalli</who>
    <bug_when>2024-10-08 14:50:09 -0700</bug_when>
    <thetext>Couple of updates are needed for getClientCapabilities() to match the current L3 spec[1]

A. WebKit supports Related Origin Requests but is not reporting that support (using `relatedOrigins` [2]) in getClientCapabilities(). This is critical for the usability of the related origins feature by RPs.
B. The capability for Conditional Mediation (aka autofill UI) was renamed [3] to `conditionalGet`[4] when `conditionalCreate` was added for consistency.

[1] https://w3c.github.io/webauthn/#sctn-getClientCapabilities
[2] https://w3c.github.io/webauthn/#dom-clientcapability-relatedorigins
[3] https://github.com/w3c/webauthn/pull/2061
[4] https://w3c.github.io/webauthn/#dom-clientcapability-conditionalget


Here is the output of getClientCapabilities() in Safari Technical Preview 205:

{&quot;passkeyPlatformAuthenticator&quot;:true,&quot;hybridTransport&quot;:true,&quot;conditionalMediation&quot;:true,&quot;conditionalCreate&quot;:true,&quot;userVerifyingPlatformAuthenticator&quot;:true}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066310</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-10-08 14:51:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/137539823&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2087870</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2025-01-16 15:24:48 -0800</bug_when>
    <thetext>The cause of this bug was outside of the WebKit Open Source project. The fix will be shipped to customers in a future update. We will update this bug when we have a public seed that can be tested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2117800</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2025-05-16 16:38:14 -0700</bug_when>
    <thetext>The fix for this needed to be made outside of the WebKit Open Source project. That fix shipped in iOS/iPadOS 18.4, and macOS Seqoia 15.4.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>