[webkit-changes] [WebKit/WebKit] 6529c8: Remove `PKApplePayLaterAvailability` staging code

Abrar Rahman Protyasha noreply at github.com
Mon May 15 19:15:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6529c84e61106eac2b3bb837cbcb2448b9a01102
      https://github.com/WebKit/WebKit/commit/6529c84e61106eac2b3bb837cbcb2448b9a01102
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterAvailability.https.html
    M Source/WebCore/Modules/applepay/ApplePayLaterAvailability.h
    M Source/WebCore/Modules/applepay/ApplePayLaterAvailability.idl
    M Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h
    M Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm

  Log Message:
  -----------
  Remove `PKApplePayLaterAvailability` staging code
https://bugs.webkit.org/show_bug.cgi?id=255360
rdar://107955442

Reviewed by Aditya Keerthi.

This commit removes the staging code and also removes the merchant
ineligible reason from PKApplePayLaterAvailability, mirroring recent
changes to the upstream PK API.

* LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterAvailability.https.html:

Use a different PKApplePayLaterAvailability enumeration value. All of
them serve the same purpose in this test context.

* Source/WebCore/Modules/applepay/ApplePayLaterAvailability.h:
* Source/WebCore/Modules/applepay/ApplePayLaterAvailability.idl:
* Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h:
* Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::toPKApplePayLaterAvailability):
(WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest):

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




More information about the webkit-changes mailing list