[webkit-changes] [WebKit/WebKit] 633a76: Ensure that [PKDeferredPaymentRequest setFreeCance...

Gerald Squelart noreply at github.com
Sat Mar 4 14:23:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 633a76e240244003717981bfde7facde69c63f32
      https://github.com/WebKit/WebKit/commit/633a76e240244003717981bfde7facde69c63f32
  Author: Gerald Squelart <g_squelart at apple.com>
  Date:   2023-03-04 (Sat, 04 Mar 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h
    M Source/WebKit/Shared/ApplePay/cocoa/DeferredPaymentRequestCocoa.mm

  Log Message:
  -----------
  Ensure that [PKDeferredPaymentRequest setFreeCancellationDateTimeZone] exists before using it
https://bugs.webkit.org/show_bug.cgi?id=253395
rdar://106239467

Reviewed by Aditya Keerthi.

[PKDeferredPaymentRequest setFreeCancellationDateTimeZone] was added in a recent SDK, so we should ensure it's present before trying to use it.

* Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h:
* Source/WebKit/Shared/ApplePay/cocoa/DeferredPaymentRequestCocoa.mm:
(WebKit::platformDeferredPaymentRequest):

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




More information about the webkit-changes mailing list