Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2fa9cdf6f512d9e0947e47f9d650d8a7caeed99b
      
https://github.com/WebKit/WebKit/commit/2fa9cdf6f512d9e0947e47f9d650d8a7caeed99b
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M Source/WebKit/UIProcess/DigitalCredentials/WKDigitalCredentialsPicker.mm
    M 
Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentPresentmentController.swift
    M 
Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentRawRequestValidator.h
    M 
Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentRawRequestValidator.swift
    M 
Source/WebKit/WebProcess/cocoa/IdentityDocumentServices/DigitalCredentialsRequestValidatorBridge.mm

  Log Message:
  -----------
  Digital Credentials: Add JS console logging that contains more informative 
debug descriptions
https://bugs.webkit.org/show_bug.cgi?id=295734
rdar://151300375

Reviewed by Aditya Keerthi and Wenson Hsieh.

There are many different errors that can occur that cause a request to be
invalid. We should log information in the JS console to help developers
understand the errors that we throw. This change also allows us to move
away from the deprecated IdentityDocumentWebPresentmentError.

Original patch authored by Erik Melone.

* Source/WebKit/UIProcess/DigitalCredentials/WKDigitalCredentialsPicker.mm:
(-[WKDigitalCredentialsPicker handleNSError:]):
* 
Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentPresentmentController.swift:
(Base.perform(_:)):
* 
Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentRawRequestValidator.h:
* 
Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentRawRequestValidator.swift:
(WKIdentityDocumentRawRequestValidator.validate(_:origin:)):
* 
Source/WebKit/WebProcess/cocoa/IdentityDocumentServices/DigitalCredentialsRequestValidatorBridge.mm:
(WebKit::DigitalCredentials::validateRequests):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to