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

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

Issue 2145553002: Parameterize OnError method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test1 Created 4 years, 5 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/email.js
diff --git a/chrome/test/data/android/payments/email.js b/chrome/test/data/android/payments/email.js
index 2aab5e253cd0ce5b5d6ed3aee147ea44a9830eb8..3d792d74acc6c7e9916798cc8f6eb25d500a5e80 100644
--- a/chrome/test/data/android/payments/email.js
+++ b/chrome/test/data/android/payments/email.js
@@ -22,10 +22,14 @@ function buy() { // eslint-disable-line no-unused-vars
print(
resp.payerEmail + '<br>' + resp.methodName + '<br>' +
JSON.stringify(resp.details, undefined, 2));
+ }, function(error) {
please use gerrit instead 2016/07/18 17:55:59 Ditto
+ print(error);
})
.catch(function(error) {
print(error.message);
});
+ }, function(error) {
please use gerrit instead 2016/07/18 17:55:59 Ditto
+ print(error);
})
.catch(function(error) {
print(error.message);

Powered by Google App Engine
This is Rietveld 408576698