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 1c97e96f0d617b3ac22622649d27ec64811a3d5e..96f525dc55c882b123a963e91e7ceaf5959ed6e4 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