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

Unified Diff: chrome/test/data/android/payments/dynamic_shipping.js

Issue 2054823002: PaymentRequest: complete() method should take PaymentComplete enum value. (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: chrome/test/data/android/payments/dynamic_shipping.js
diff --git a/chrome/test/data/android/payments/dynamic_shipping.js b/chrome/test/data/android/payments/dynamic_shipping.js
index 736c73ea6e423fd259438c5cd20388b7ea8d955a..e2daa0f56201b6371ccf1ad74c4ea6a0bc2a05d0 100644
--- a/chrome/test/data/android/payments/dynamic_shipping.js
+++ b/chrome/test/data/android/payments/dynamic_shipping.js
@@ -30,7 +30,7 @@ function buy() { // eslint-disable-line no-unused-vars
request.show()
.then(function(resp) {
- resp.complete(true)
+ resp.complete("success")
.then(function() {
print(request.shippingOption + '<br>' +
JSON.stringify(

Powered by Google App Engine
This is Rietveld 408576698