Description was changed from ========== invoke BUG= ========== to ========== PaymentApp: Implement respondWith() in PaymentRequestEvent. ...
3 years, 9 months ago
(2017-03-07 15:13:29 UTC)
#1
Description was changed from
==========
invoke
BUG=
==========
to
==========
PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side)
The respondWith() method is used by the payment app to provide a
PaymentAppResponse when the payment successfully completes.
This CL includes a content-side implementation and browser test. Especially, add
a callback to InvokePaymentApp() in PaymentAppProvider. The callback is used to
pass a response data from payment app using respondWith().
Related Spec Link:
https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentrequestevent
See the other CLs in this series:
[1/3] https://codereview.chromium.org/2715663002/ (RespondWithObserver)
[2/3] https://codereview.chromium.org/2705293010/ (blink side patch)
[3/3] This patch
BUG=661608
TEST=payment_app_browsertest.cc
==========
zino
Description was changed from ========== PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side) The respondWith() method ...
3 years, 9 months ago
(2017-03-07 15:25:55 UTC)
#2
Description was changed from
==========
PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side)
The respondWith() method is used by the payment app to provide a
PaymentAppResponse when the payment successfully completes.
This CL includes a content-side implementation and browser test. Especially, add
a callback to InvokePaymentApp() in PaymentAppProvider. The callback is used to
pass a response data from payment app using respondWith().
Related Spec Link:
https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentrequestevent
See the other CLs in this series:
[1/3] https://codereview.chromium.org/2715663002/ (RespondWithObserver)
[2/3] https://codereview.chromium.org/2705293010/ (blink side patch)
[3/3] This patch
BUG=661608
TEST=payment_app_browsertest.cc
==========
to
==========
PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side)
The respondWith() method is used by the payment app to provide a
PaymentAppResponse when the payment successfully completes.
This CL includes a content-side implementation and browser test. Especially, add
a callback to InvokePaymentApp() in PaymentAppProvider. The callback is used to
pass a response data from payment app using respondWith().
Related Spec Link:
https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentrequestevent
See the other CLs in this series:
[1/3] https://codereview.chromium.org/2715663002/ (RespondWithObserver)
[2/3] https://codereview.chromium.org/2705293010/ (blink side)
[3/3] This patch
BUG=661608
TEST=payment_app_browsertest.cc
==========
3 years, 9 months ago
(2017-03-07 15:51:13 UTC)
#4
PTAL
Tom Sepez
https://codereview.chromium.org/2718013004/diff/60001/components/payments/content/payment_app.mojom File components/payments/content/payment_app.mojom (right): https://codereview.chromium.org/2718013004/diff/60001/components/payments/content/payment_app.mojom#newcode47 components/payments/content/payment_app.mojom:47: string method_name; What are the restrictions on the values ...
3 years, 9 months ago
(2017-03-07 17:22:39 UTC)
#5
https://codereview.chromium.org/2718013004/diff/80001/content/browser/service_worker/embedded_worker_test_helper.cc File content/browser/service_worker/embedded_worker_test_helper.cc (right): https://codereview.chromium.org/2718013004/diff/80001/content/browser/service_worker/embedded_worker_test_helper.cc#newcode209 content/browser/service_worker/embedded_worker_test_helper.cc:209: payments::mojom::PaymentAppResponseCallbackPtr response_callback, |response_callback| is not used. Is this OK? ...
3 years, 9 months ago
(2017-03-22 02:24:48 UTC)
#12
On 2017/03/22 18:19:09, ಠ_ಠ wrote: > On 2017/03/22 18:04:45, zino wrote: > > rouslan@, I ...
3 years, 9 months ago
(2017-03-22 18:30:09 UTC)
#17
On 2017/03/22 18:19:09, ಠ_ಠ wrote:
> On 2017/03/22 18:04:45, zino wrote:
> > rouslan@, I addressed your comments
>
> Looks like the fixes have not been uploaded yet?
Ah, sorry.. my mistake.
PTAL patch set 6.
Thanks!
zino
+Avi@ for non-payment part in content/
3 years, 9 months ago
(2017-03-22 18:31:14 UTC)
#18
+Avi@ for non-payment part in content/
zino
The CQ bit was checked by jinho.bang@samsung.com to run a CQ dry run
3 years, 9 months ago
(2017-03-22 18:31:34 UTC)
#19
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/331856) mac_chromium_rel_ng on ...
3 years, 9 months ago
(2017-03-22 18:47:00 UTC)
#22
Dry run: Try jobs failed on following builders: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xcode-clang/builds/64381)
3 years, 9 months ago
(2017-03-22 19:55:09 UTC)
#27
3 years, 9 months ago
(2017-03-24 17:01:30 UTC)
#28
lgtm
Avi (use Gerrit)
lgtm
3 years, 9 months ago
(2017-03-24 17:13:41 UTC)
#29
lgtm
zino
Tom Sepez@ PTAL I left a comment. If we need to add length limits, please ...
3 years, 9 months ago
(2017-03-27 15:27:05 UTC)
#30
Tom Sepez@ PTAL
I left a comment.
If we need to add length limits, please let me know how much length limits are
appropriate.
Thank you.
https://codereview.chromium.org/2718013004/diff/60001/components/payments/con...
File components/payments/content/payment_app.mojom (right):
https://codereview.chromium.org/2718013004/diff/60001/components/payments/con...
components/payments/content/payment_app.mojom:47: string method_name;
On 2017/03/07 17:22:39, Tom Sepez wrote:
> What are the restrictions on the values of these two fields?
> These are only processed in a renderer?
As I know, there are no restrictions in spec side.
The spec says that "Payment method security is outside the scope of this
specification and is addressed by payment handlers that support those payment
methods.".
The spec concept is providing a web based payment app using JS with service
worker.
So, we can not sure that the payment app provider what they want. So, it is
difficult to restrict the values of the method and details explicitly.
I think we can add length limits for them. Do we need them in mojo?
zino
Tom Sepez@, gentle ping
3 years, 8 months ago
(2017-03-28 13:51:12 UTC)
#31
Tom Sepez@, gentle ping
zino
On 2017/03/28 13:51:12, zino wrote: > Tom Sepez@, gentle ping Tom Sepez@, Could you please ...
3 years, 8 months ago
(2017-03-29 15:59:26 UTC)
#32
On 2017/03/28 13:51:12, zino wrote:
> Tom Sepez@, gentle ping
Tom Sepez@, Could you please review this?
Tom Sepez
lgtm
3 years, 8 months ago
(2017-03-29 20:33:16 UTC)
#33
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago
(2017-03-30 02:23:00 UTC)
#41
Try jobs failed on following builders:
ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't
started yet, builder probably lacks capacity)
zino
The CQ bit was checked by jinho.bang@samsung.com
3 years, 8 months ago
(2017-03-30 02:57:57 UTC)
#42
Issue 2718013004: PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side)
(Closed)
Created 3 years, 9 months ago by zino
Modified 3 years, 8 months ago
Reviewers: nhiroki, please use gerrit instead, haraken, Tom Sepez, shimazu, Avi (use Gerrit), Ted C
Base URL:
Comments: 46