[webkit-changes] [WebKit/WebKit] 243357: [WebAuthn] Avoid calling any ASC code if not prese...

Commit Queue noreply at github.com
Tue Jul 11 17:46:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 243357fc57d2d69b36d7d350f4c3e6adc9be6839
      https://github.com/WebKit/WebKit/commit/243357fc57d2d69b36d7d350f4c3e6adc9be6839
  Author: Pascoe <pascoe at apple.com>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M Source/WebKit/UIProcess/WebAuthentication/Cocoa/WebAuthenticatorCoordinatorProxy.mm
    M Source/WebKit/UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.cpp
    M Source/WebKit/UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.h

  Log Message:
  -----------
  [WebAuthn] Avoid calling any ASC code if not present on the system
https://bugs.webkit.org/show_bug.cgi?id=259072
rdar://112033763

Reviewed by Aditya Keerthi.

We need to avoid initializing any ASC code if we can't softlink it successfully.
In order to avoid error handling in struct initialization code, we first check
if the framework is available before proceeding with the request.

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




More information about the webkit-changes mailing list