[Webkit-unassigned] [Bug 243269] New: [Apple Pay] add a `features` that allows for direct detection of Apple Pay features (similar to the more general `version`)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 27 14:58:48 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243269

            Bug ID: 243269
           Summary: [Apple Pay] add a `features` that allows for direct
                    detection of Apple Pay features (similar to the more
                    general `version`)
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220727/01b74b7e/attachment.htm>


More information about the webkit-unassigned mailing list