[webkit-changes] [WebKit/WebKit] e404a5: [Payment Request] Update API to use inclusive lang...

Abrar Rahman Protyasha noreply at github.com
Wed Apr 19 12:34:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e404a58b8d31392246bc4045a77aab9b54fa9264
      https://github.com/WebKit/WebKit/commit/e404a58b8d31392246bc4045a77aab9b54fa9264
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    A LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterAvailability.https-expected.txt
    A LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterAvailability.https.html
    R LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterMode.https-expected.txt
    R LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterMode.https.html
    M LayoutTests/platform/ios-wk2/TestExpectations
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources-output.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Modules/applepay/ApplePayFeature.h
    M Source/WebCore/Modules/applepay/ApplePayFeature.idl
    A Source/WebCore/Modules/applepay/ApplePayLaterAvailability.h
    A Source/WebCore/Modules/applepay/ApplePayLaterAvailability.idl
    R Source/WebCore/Modules/applepay/ApplePayLaterMode.h
    R Source/WebCore/Modules/applepay/ApplePayLaterMode.idl
    M Source/WebCore/Modules/applepay/ApplePayRequestBase.cpp
    M Source/WebCore/Modules/applepay/ApplePayRequestBase.h
    M Source/WebCore/Modules/applepay/ApplePayRequestBase.idl
    M Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h
    M Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h
    M Source/WebCore/SourcesCocoa.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/testing/MockPaymentCoordinator.cpp
    M Source/WebCore/testing/MockPaymentCoordinator.h
    M Source/WebCore/testing/MockPaymentCoordinator.idl
    M Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm
    M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm

  Log Message:
  -----------
  [Payment Request] Update API to use inclusive language
https://bugs.webkit.org/show_bug.cgi?id=255359
rdar://107259257

Reviewed by Aditya Keerthi.

It is preferred to avoid the enabled/disabled terminology in favour of available/unavailable.

* LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterAvailability.https-expected.txt: Added.
* LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterAvailability.https.html: Renamed from LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterMode.https.html.
* LayoutTests/http/tests/paymentrequest/paymentrequest-applePayLaterMode.https-expected.txt: Removed.
* LayoutTests/platform/ios-wk2/TestExpectations:
* LayoutTests/platform/mac-wk2/TestExpectations:
* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/applepay/ApplePayFeature.h:
* Source/WebCore/Modules/applepay/ApplePayFeature.idl:
* Source/WebCore/Modules/applepay/ApplePayLaterAvailability.h: Renamed from Source/WebCore/Modules/applepay/ApplePayLaterMode.h.
* Source/WebCore/Modules/applepay/ApplePayLaterAvailability.idl: Renamed from Source/WebCore/Modules/applepay/ApplePayLaterMode.idl.
* Source/WebCore/Modules/applepay/ApplePayRequestBase.cpp:
(WebCore::convertAndValidate):
* Source/WebCore/Modules/applepay/ApplePayRequestBase.h:
* Source/WebCore/Modules/applepay/ApplePayRequestBase.idl:
* Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h:
(WebCore::ApplePaySessionPaymentRequest::applePayLaterAvailability const):
(WebCore::ApplePaySessionPaymentRequest::setApplePayLaterAvailability):
(WebCore::ApplePaySessionPaymentRequest::applePayLaterMode const): Deleted.
(WebCore::ApplePaySessionPaymentRequest::setApplePayLaterMode): Deleted.
* Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h:
* Source/WebCore/SourcesCocoa.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/testing/MockPaymentCoordinator.cpp:
(WebCore::MockPaymentCoordinator::showPaymentUI):
* Source/WebCore/testing/MockPaymentCoordinator.h:
* Source/WebCore/testing/MockPaymentCoordinator.idl:
* Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::toPKApplePayLaterAvailability):
(WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest):
(WebKit::toPKApplePayLaterMode): Deleted.
* Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.mm:
(IPC::ArgumentCoder<WebCore::ApplePaySessionPaymentRequest>::encode):
(IPC::ArgumentCoder<WebCore::ApplePaySessionPaymentRequest>::decode):

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




More information about the webkit-changes mailing list