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

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

Issue 2054823002: PaymentRequest: complete() method should take PaymentComplete enum value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 db250f39ade1740815071f22c61c1839a950a051..80187b5c98c419766b395747eb088b3f754dedab 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 result;
})
.then(response => {
- completeResult = response.complete(true);
+ completeResult = response.complete("success");
// Return before calling gc() to make sure reference to response
// is gone.
})
« no previous file with comments | « chrome/test/data/android/payments/no_shipping.js ('k') | third_party/WebKit/Source/modules/payments/PaymentCompleter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698