Intent to Implement and Ship: Allow PaymentRequest.show() to take optional detailsPromise

41 views
Skip to first unread message

Rouslan Solomakhin

unread,
Mar 6, 2018, 1:55:28 PM3/6/18
to blink-dev
rou...@chromium.org https://github.com/w3c/payment-request/pull/672/files

Some users may not know the total or line items at the time of attempting to open the payment sheet with show() -- there may be asynchronous server-based logic yet to be resolved.
This feature is a way to signal that the browser should show a spinner or equivalent and wait to allow end user interaction until an update. Firefox: In development Edge: No public signals Safari: Shipped Web developers: Positive Passing a detailsPromise into a show() method of a browser that does not support taking this promise may result in an outdated total and lines items being shown in the payment sheet.  None No. There's no PaymentRequest on WebView. https://crbug.com/817073 https://www.chromestatus.com/feature/6092351889997824 Yes

TAMURA, Kent

unread,
Mar 13, 2018, 11:08:22 PM3/13/18
to Rouslan Solomakhin, blink-dev
LGTM1



--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMMzaWFdqe9jdUrXe_Arz1Rr%2B_h7ajZVSC42_BTrOCWoMcNoSA%40mail.gmail.com.


--
TAMURA Kent
Software Engineer, Google


Rick Byers

unread,
Mar 14, 2018, 10:41:02 AM3/14/18
to TAMURA, Kent, Rouslan Solomakhin, blink-dev
LGTM2 (sorry for the delay, missed this while travelling).

Chris Harrelson

unread,
Mar 14, 2018, 1:02:35 PM3/14/18
to Rick Byers, TAMURA, Kent, Rouslan Solomakhin, blink-dev
LGTM3


To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY8MuthPKv%2BJUfnyg6R_R3RqkJGMyi%2ByHrAEJF53inF%2BZw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages