Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: acf65d50a1eeec99edbb3fa6cd4707ed6d3fa76c
      
https://github.com/WebKit/WebKit/commit/acf65d50a1eeec99edbb3fa6cd4707ed6d3fa76c
  Author: Antonio Tanzola <[email protected]>
  Date:   2026-10-09 (Fri, 09 Oct 2026)

  Changed paths:
    A 
LayoutTests/http/tests/ssl/applepay/ApplePayPaymentMethodIssuingRegionCode.https-expected.txt
    A 
LayoutTests/http/tests/ssl/applepay/ApplePayPaymentMethodIssuingRegionCode.https.html
    M Source/WebCore/Configurations/AllowedSPI.toml
    M Source/WebCore/Modules/applepay/ApplePayPaymentMethod.h
    M Source/WebCore/Modules/applepay/ApplePayPaymentMethod.idl
    M Source/WebCore/Modules/applepay/cocoa/PaymentMethodCocoa.mm
    M Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h
    M Source/WebKit/Shared/Cocoa/CoreIPCPKPaymentMethod.h
    M Source/WebKit/Shared/Cocoa/CoreIPCPKPaymentMethod.mm
    M Source/WebKit/Shared/Cocoa/CoreIPCPKPaymentMethod.serialization.in
    M Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm

  Log Message:
  -----------
  Add issuingRegionCode to ApplePayPaymentMethod
https://bugs.webkit.org/show_bug.cgi?id=325798
rdar://188172545

Reviewed by Abrar Rahman Protyasha.

Expose PKPaymentMethod.issuingRegionCode, the region of the bank that issued the
selected card, on ApplePayPaymentMethod. Merchants can read it in
paymentmethodselected for Apple Pay JS and in paymentmethodchange methodDetails
for Payment Request. The member is absent when PassKit has no region.

The property is not in an SDK yet, so it is staged behind
HAVE(PASSKIT_ISSUING_REGION_CODE) until rdar://188823158.

Tests: Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm
       http/tests/ssl/applepay/ApplePayPaymentMethodIssuingRegionCode.https.html

* 
LayoutTests/http/tests/ssl/applepay/ApplePayPaymentMethodIssuingRegionCode.https-expected.txt:
 Added.
* 
LayoutTests/http/tests/ssl/applepay/ApplePayPaymentMethodIssuingRegionCode.https.html:
 Added.
* Source/WebCore/Configurations/AllowedSPI.toml:
* Source/WebCore/Modules/applepay/ApplePayPaymentMethod.h:
* Source/WebCore/Modules/applepay/ApplePayPaymentMethod.idl:
* Source/WebCore/Modules/applepay/cocoa/PaymentMethodCocoa.mm:
(WebCore::convert):
* Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h:
* Source/WebKit/Shared/Cocoa/CoreIPCPKPaymentMethod.h:
* Source/WebKit/Shared/Cocoa/CoreIPCPKPaymentMethod.mm:
(WebKit::CoreIPCPKPaymentMethod::CoreIPCPKPaymentMethod):
(WebKit::CoreIPCPKPaymentMethod::toID const):
* Source/WebKit/Shared/Cocoa/CoreIPCPKPaymentMethod.serialization.in:
* Tools/TestWebKitAPI/Tests/IPC/IPCSerialization.mm:
(TEST(IPCSerialization, PKPaymentMethod)):

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



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

Reply via email to