RESOLVED FIXED 243269
[Apple Pay] add a `features` that allows for direct detection of Apple Pay features (similar to the more general `version`)
https://bugs.webkit.org/show_bug.cgi?id=243269
Summary [Apple Pay] add a `features` that allows for direct detection of Apple Pay fe...
Devin Rousso
Reported 2022-07-27 14:58:48 PDT
we currently offer the `version` as an indirect way for developers to answer the question "does the current device support this feature" since the developer can look up the version that supports that feature <https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_on_the_web_version_history> while there's nothing wrong with this, it's a pretty inflexible (monotonically increasing integer) and not directly clear approach (requires looking at documentation to know what something means) we can instead have a list of `features` that contains an `enum`, allowing developers to call out desired features by name, allowing for more more options and avoiding having to look at documentation
Attachments
Devin Rousso
Comment 1 2022-07-27 14:59:02 PDT
Devin Rousso
Comment 2 2022-07-27 15:07:29 PDT
EWS
Comment 3 2022-08-09 16:52:25 PDT
Committed 253276@main (0f50dd00e346): <https://commits.webkit.org/253276@main> Reviewed commits have been landed. Closing PR #2793 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.