Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0c4a8d7f21e829938a4ba038f51a2686bd519a01
https://github.com/WebKit/WebKit/commit/0c4a8d7f21e829938a4ba038f51a2686bd519a01
Author: Pascoe <[email protected]>
Date: 2026-06-22 (Mon, 22 Jun 2026)
Changed paths:
M
Source/WebKit/UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientOutputs.h
M
Source/WebKit/UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientOutputs.mm
M
Source/WebKit/UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientOutputsInternal.h
M Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm
Log Message:
-----------
[WebAuthn] Use structured input/output for largeBlob
https://bugs.webkit.org/show_bug.cgi?id=317233
rdar://173450970
Reviewed by Charlie Wolfe.
The largeBlob extension output was only exposed through the CBOR-encoded
extensionOutputsCBOR, which is being phased out in favor of the structured
_WKAuthenticationExtensionsClientOutputs object. This patch adds a largeBlob
property to _WKAuthenticationExtensionsClientOutputs, backed by a new
_WKAuthenticationExtensionsLargeBlobOutputs class exposing the supported,
blob, and written fields, mirroring how the largeBlob input is already
plumbed. _WKWebAuthenticationPanel now populates it from the WebCore
extension outputs so clients can read the registration support flag and the
assertion read/write results without decoding CBOR.
* Source/WebKit/UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientOutputs.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientOutputs.mm:
(-[_WKAuthenticationExtensionsClientOutputs
initWithAppid:prfEnabled:prfFirst:prfSecond:largeBlob:]):
(-[_WKAuthenticationExtensionsClientOutputs largeBlob]):
(-[_WKAuthenticationExtensionsClientOutputs dealloc]):
(-[_WKAuthenticationExtensionsLargeBlobOutputs
initWithSupported:blob:written:]):
(-[_WKAuthenticationExtensionsLargeBlobOutputs blob]):
*
Source/WebKit/UIProcess/API/Cocoa/_WKAuthenticationExtensionsClientOutputsInternal.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:
(wkAuthenticationExtensionsClientOutputs):
Canonical link: https://commits.webkit.org/315616@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications