[webkit-changes] [WebKit/WebKit] 35ab5c: Adopt strict coding of PKPaymentSetupConfiguration

Alex Christensen noreply at github.com
Wed Apr 12 16:05:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35ab5c9c5aa3a7d2e95c5dc6efede4e714983151
      https://github.com/WebKit/WebKit/commit/35ab5c9c5aa3a7d2e95c5dc6efede4e714983151
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-04-12 (Wed, 12 Apr 2023)

  Changed paths:
    M Source/WebKit/Shared/ApplePay/PaymentSetupConfiguration.mm
    M Source/WebKit/Shared/ApplePay/PaymentSetupConfiguration.serialization.in
    M Source/WebKit/Shared/ApplePay/PaymentSetupConfigurationWebKit.h
    M Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm
    M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Adopt strict coding of PKPaymentSetupConfiguration
https://bugs.webkit.org/show_bug.cgi?id=255190
rdar://107553429

Reviewed by Andy Estes.

Rather than serialize WebKit::PaymentSetupConfiguration as a PKPaymentSetupConfiguration,
serialize its components as WTF::Strings and WTF::URLs.

* Source/WebKit/Shared/ApplePay/PaymentSetupConfiguration.mm:
(WebKit::PaymentSetupConfiguration::platformConfiguration const):
(WebKit::PaymentSetupConfiguration::PaymentSetupConfiguration):
* Source/WebKit/Shared/ApplePay/PaymentSetupConfiguration.serialization.in:
* Source/WebKit/Shared/ApplePay/PaymentSetupConfigurationWebKit.h:
(WebKit::PaymentSetupConfiguration::configuration const):
(WebKit::PaymentSetupConfiguration::url const):
(WebKit::PaymentSetupConfiguration::platformConfiguration const): Deleted.
* Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::WebPaymentCoordinatorProxy::getSetupFeatures):
(WebKit::WebPaymentCoordinatorProxy::platformBeginApplePaySetup):
* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::shouldEnableStrictMode):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list