[webkit-changes] [WebKit/WebKit] 12b91c: [Apple Pay] Populate PKPaymentRequest with origina...
Abrar Rahman Protyasha
noreply at github.com
Mon Nov 6 22:40:54 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 12b91c5bfc10cf99f20dfceb3ba1b602401c23d0
https://github.com/WebKit/WebKit/commit/12b91c5bfc10cf99f20dfceb3ba1b602401c23d0
Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h
M Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h
M Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm
M Source/WebKit/Shared/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm
M Source/WebKit/Shared/ApplePay/mac/WebPaymentCoordinatorProxyMac.mm
Log Message:
-----------
[Apple Pay] Populate PKPaymentRequest with originating user agent when possible
https://bugs.webkit.org/show_bug.cgi?id=264244
rdar://113974599
Reviewed by Megan Gardner.
This patch queries for the UA string corresponding to the originating
web page of a payment request and populates the `PKPaymentRequest`
object with said data when possible.
* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h:
* Source/WebKit/Shared/ApplePay/WebPaymentCoordinatorProxy.h:
* Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::WebPaymentCoordinatorProxy::platformPaymentRequest):
* Source/WebKit/Shared/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm:
(WebKit::WebPaymentCoordinatorProxy::platformShowPaymentUI):
* Source/WebKit/Shared/ApplePay/mac/WebPaymentCoordinatorProxyMac.mm:
(WebKit::WebPaymentCoordinatorProxy::platformShowPaymentUI):
Canonical link: https://commits.webkit.org/270312@main
More information about the webkit-changes
mailing list