Bug 259659 - [Apple Pay] Deprecate `enabled` in favor of `available` in ApplePayShippingContactEditingMode
Summary: [Apple Pay] Deprecate `enabled` in favor of `available` in ApplePayShippingCo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Abrar Rahman Protyasha
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-31 13:48 PDT by Abrar Rahman Protyasha
Modified: 2023-08-01 14:30 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.