LGTM2. I think it would be valuable to extend the spec PR with more description of the considerations around when the feature is available (see discussion at https://github.com/w3c/secure-payment-confirmation/issues/81#issuecomment-1527105768), but I don't think that will meaningfully change the shape of the API or its meaning in Chromium's implementation.
-mike On Thu, Apr 27, 2023 at 4:33 PM Nick Burris <nbur...@chromium.org> wrote: > > > Le jeudi 20 avril 2023 à 12 h 58 min 34 s UTC-4, Nick Burris a écrit : > > Contact emailsnbur...@chromium.org, smcgr...@chromium.org, icer@chromium. > org > > Specificationhttps://github.com/w3c/secure-payment-confirmation/pull/233 > > Design docshttps://docs.google.com/document/d/10zFazJRJMwNLKmH- > GJRFMDs4rONIO5kF8TvdFydmGek/edit > > Summary > > This is a Javascript API to provide an easier way to check if the Secure > Payment Confirmation[1] feature is available. Currently, the only way to > determine SPC’s availability is to create a PaymentRequest with the > required parameters[2], which is clunky and difficult in the case where a > developer wants to check for SPC before starting to process a payment. [1] > https://www.w3.org/TR/secure-payment-confirmation/ [2] > https://github.com/w3c/secure-payment-confirmation/issues/ > 81#issuecomment-868473461 > > > Blink componentBlink>Payments > <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EPayments> > > TAG reviewNone > > TAG review statusNot applicable > > Risks > Interoperability and Compatibility*Gecko*: N/A ( > https://github.com/mozilla/standards-positions/issues/570) > > *WebKit*: N/A (https://github.com/WebKit/standards-positions/issues/30) > > *Web developers*: Positive (https://github.com/w3c/ > secure-payment-confirmation/issues/81) We've received feedback from web > developers that an easier mechanism to check for SPC availability would be > useful. > > *Other signals*: > > WebView application risks > > Does this intent deprecate or change behavior of existing APIs, such that > it has potentially high risk for Android WebView-based applications? > > None > > > Will this feature be supported on all six Blink platforms (Windows, Mac, > Linux, Chrome OS, Android, and Android WebView)?Yes > > Is this feature fully tested by web-platform-tests > <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> > ? > To be added to secure-payment-confirmation suite > <https://wpt.fyi/results/secure-payment-confirmation?label=experimental&label=master&aligned> > > Flag name--enable-blink-features=SecurePaymentConfirmationAvailableAPI > > Requires code in //chrome?True > > Estimated milestonesShipping on desktop114Shipping on Android114 > > > FYI, we missed the 114 branch so we're pushing this back to M115. > > > Anticipated spec changes > > https://github.com/w3c/secure-payment-confirmation/pull/233 > > Link to entry on the Chrome Platform Statushttps://chromestatus.com/ > feature/5165040614768640 > > This intent message was generated by Chrome Platform Status > <https://chromestatus.com/>. > > -- > You received this message because you are subscribed to the Google Groups > "blink-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to blink-dev+unsubscr...@chromium.org. > To view this discussion on the web visit > https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8910ee13-a798-4388-a2c3-659e1b18fa14n%40chromium.org > <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8910ee13-a798-4388-a2c3-659e1b18fa14n%40chromium.org?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3DfHDCGw%2BS%2BAeroZ9jvPVkLj%3DckzPTMkgdCh79BTHVCUDw%40mail.gmail.com.