[webkit-changes] [WebKit/WebKit] 8e0e56: Add support for topOrigin and crossOrigin to [_WKW...

Abigail Fox noreply at github.com
Tue May 2 15:00:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e0e561a0e0f49ddfe39a48d04c50ca1f6ea263e
      https://github.com/WebKit/WebKit/commit/8e0e561a0e0f49ddfe39a48d04c50ca1f6ea263e
  Author: Abigail Fox <abigail_fox at apple.com>
  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




More information about the webkit-changes mailing list