[webkit-changes] [WebKit/WebKit] 270246: Add errors specific to disbursements

Commit Queue noreply at github.com
Mon May 6 19:52:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 27024671470d48970fd3801c8a1ff6dd6bf1ec6c
      https://github.com/WebKit/WebKit/commit/27024671470d48970fd3801c8a1ff6dd6bf1ec6c
  Author: Robin Malhotra <robinm at apple.com>
  Date:   2024-05-06 (Mon, 06 May 2024)

  Changed paths:
    M Source/WebCore/Modules/applepay/ApplePayError.h
    M Source/WebCore/Modules/applepay/ApplePayError.idl
    M Source/WebCore/Modules/applepay/ApplePayErrorCode.h
    M Source/WebCore/Modules/applepay/ApplePayErrorCode.idl
    M Source/WebCore/Modules/applepay/ApplePaySession.cpp
    M Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h
    M Source/WebCore/Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp
    M Source/WebCore/PAL/pal/cocoa/PassKitSoftLink.h
    M Source/WebCore/PAL/pal/cocoa/PassKitSoftLink.mm
    M Source/WebKit/Platform/cocoa/PaymentAuthorizationPresenter.mm
    M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Add errors specific to disbursements

https://bugs.webkit.org/show_bug.cgi?id=272754
rdar://118632803
Reviewed by Abrar Rahman Protyasha.

Adds the necessary error types for `PKDisbursementError`s

* Source/WebCore/Modules/applepay/ApplePayError.h:
* Source/WebCore/Modules/applepay/ApplePayError.idl:
* Source/WebCore/Modules/applepay/ApplePayErrorCode.h:
* Source/WebCore/Modules/applepay/ApplePayErrorCode.idl:
* Source/WebCore/Modules/applepay/ApplePaySession.cpp:
(WebCore::convertAndValidate):
(WebCore::ApplePaySession::completeShippingContactSelection):
* Source/WebCore/Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp:
(WebCore::appendShippingContactInvalidError):
(WebCore::ApplePayPaymentHandler::retry):
* Source/WebCore/PAL/pal/cocoa/PassKitSoftLink.h:
* Source/WebCore/PAL/pal/cocoa/PassKitSoftLink.mm:
* Source/WebKit/Platform/cocoa/PaymentAuthorizationPresenter.mm:
(WebKit::toPKPaymentErrorCode):
(WebKit::toPKContactField):
(WebKit::toNSError):
(WebKit::PaymentAuthorizationPresenter::completePaymentSession):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list