Bug 259659

Summary: [Apple Pay] Deprecate `enabled` in favor of `available` in ApplePayShippingContactEditingMode
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: PlatformAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Abrar Rahman Protyasha 2023-07-31 13:48:56 PDT
PassKit is deprecating PKShippingContactEditingModeEnabled in favor of PKShippingContactEditingModeAvailable in the PKShippingContactEditingMode  enumeration. Reference: https://developer.apple.com/documentation/passkit/pkshippingcontacteditingmode/pkshippingcontacteditingmodeenabled?language=objc

Given our intention to reflect the PassKit public API in the Apple Pay JS API, we should follow suit and perform a similar deprecation.
Comment 1 Radar WebKit Bug Importer 2023-07-31 13:49:13 PDT
<rdar://problem/113159800>
Comment 2 Abrar Rahman Protyasha 2023-07-31 14:08:16 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16242
Comment 3 EWS 2023-08-01 14:30:39 PDT
Committed 266493@main (07b5559f651e): <https://commits.webkit.org/266493@main>

Reviewed commits have been landed. Closing PR #16242 and removing active labels.