Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html

Issue 2020883002: PaymentRequest: Introduce PaymentMethodData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html
diff --git a/third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html b/third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html
index 2ba3a2e50db5dbd5ab28b52a33c60a45096ad031..3cae6270a5c315a9ac0cedd8a1a0587a065f6ae0 100644
--- a/third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html
+++ b/third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html
@@ -28,7 +28,7 @@ promise_test(t => {
return paymentRequestMock
.then(m => {
mock = m;
- var result = new PaymentRequest(['visa'], details).show();
+ var result = new PaymentRequest([{'supportedMethods': ['visa']}], details).show();
gc();
mock.onPaymentResponse(response_data);
return result;

Powered by Google App Engine
This is Rietveld 408576698