Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e0e561a0e0f49ddfe39a48d04c50ca1f6ea263e
      
https://github.com/WebKit/WebKit/commit/8e0e561a0e0f49ddfe39a48d04c50ca1f6ea263e
  Author: Abigail Fox <[email protected]>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M Source/WebCore/Modules/webauthn/WebAuthenticationUtils.cpp
    M Source/WebCore/Modules/webauthn/WebAuthenticationUtils.h
    M Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.h
    M Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm

  Log Message:
  -----------
  Add support for topOrigin and crossOrigin to [_WKWebAuthenticationPanel 
getClientDataJSONFor...]
https://bugs.webkit.org/show_bug.cgi?id=255680
rdar://108064670

Reviewed by J Pascoe and Chris Dumez.

* Source/WebCore/Modules/webauthn/AuthenticatorCoordinator.cpp:
(WebCore::AuthenticatorCoordinator::create):
(WebCore::AuthenticatorCoordinator::discoverFromExternalSource):
* Source/WebCore/Modules/webauthn/WebAuthenticationUtils.cpp:
(WebCore::buildClientDataJson):
* Source/WebCore/Modules/webauthn/WebAuthenticationUtils.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:
(produceClientDataJson):
(-[_WKWebAuthenticationPanel 
makeCredentialWithChallenge:origin:options:completionHandler:]):
(-[_WKWebAuthenticationPanel 
getAssertionWithChallenge:origin:options:completionHandler:]):
(+[_WKWebAuthenticationPanel 
getClientDataJSONForAuthenticationType:challenge:origin:]):
(+[_WKWebAuthenticationPanel 
getClientDataJSONWithTopOrigin:challenge:origin:topOrigin:crossOrigin:]):

Canonical link: https://commits.webkit.org/263609@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to