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

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, 7 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 99d3f91f24a4677a4bf0e693b3f0cbefc6e53a18..31831157fe9448c085f873ff1e8ccd975b5cfe5a 100644
--- a/third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html
+++ b/third_party/WebKit/LayoutTests/payments/promises-keep-request-alive.html
@@ -30,7 +30,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