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

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

Issue 2081533002: Edit contacts UI for PaymentRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@contactDetails
Patch Set: Addressed comments 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/email.js
diff --git a/chrome/test/data/android/payments/contact_details.js b/chrome/test/data/android/payments/email.js
similarity index 80%
copy from chrome/test/data/android/payments/contact_details.js
copy to chrome/test/data/android/payments/email.js
index 7f6ef19f22027a6614c72828ba146ff0eadf401c..9ac20d248eb884dfe2ab975b50d49e6ed184ecad 100644
--- a/chrome/test/data/android/payments/contact_details.js
+++ b/chrome/test/data/android/payments/email.js
@@ -6,23 +6,22 @@
/* global PaymentRequest:false */
-/**
- * Launches the PaymentRequest UI that requests contact details.
+/*
+ * Launches the PaymentRequest UI that requests email address.
*/
function buy() { // eslint-disable-line no-unused-vars
try {
new PaymentRequest(
[{supportedMethods: ['visa']}],
{total: {label: 'Total', amount: {currency: 'USD', value: '5.00'}}},
- {requestPayerEmail: true, requestPayerPhone: true})
+ {requestPayerEmail: true})
.show()
.then(function(resp) {
resp.complete('success')
.then(function() {
print(
JSON.stringify(resp.totalAmount, undefined, 2) + '<br>' +
- resp.payerEmail + '<br>' + resp.payerPhone + '<br>' +
- resp.methodName + '<br>' +
+ resp.payerEmail + '<br>' + resp.methodName + '<br>' +
JSON.stringify(resp.details, undefined, 2));
})
.catch(function(error) {

Powered by Google App Engine
This is Rietveld 408576698