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

Issue 2170603006: [Payments] Use the correct index when checking addresses (Closed)

Created:
4 years, 5 months ago by gone
Modified:
4 years, 5 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Use the correct index when checking addresses We have an off-by-one error now that the mOptionLayout can have multiple children in it above the actual options. * Use the correct index when indexing into the options layout. * Add a test that checks for the crash and additionally checks that the "merchant doesn't accept address" string is correctly displayed. * Plumbs a new callback that indicates that the client has finished checking the selection. BUG=630348 Committed: https://crrev.com/80155b30015fca0ea8774117ee2a9b8d0d8da91d Cr-Commit-Position: refs/heads/master@{#407197}

Patch Set 1 #

Patch Set 2 : Add test #

Total comments: 2

Patch Set 3 : Comment #

Messages

Total messages: 21 (15 generated)
gone
Rouslan: PTAL. Got the new test working. It double-dips: it checks that the "pick a ...
4 years, 5 months ago (2016-07-22 03:19:41 UTC) #8
please use gerrit instead
lgtm % comment https://codereview.chromium.org/2170603006/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java (right): https://codereview.chromium.org/2170603006/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java#newcode101 chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java:101: * Make sure the address suggestions ...
4 years, 5 months ago (2016-07-22 04:22:09 UTC) #13
gone
https://chromiumcodereview.appspot.com/2170603006/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java (right): https://chromiumcodereview.appspot.com/2170603006/diff/20001/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java#newcode101 chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestDynamicShippingMultipleAddressesTest.java:101: * Make sure the address suggestions are in the ...
4 years, 5 months ago (2016-07-22 17:17:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2170603006/40001
4 years, 5 months ago (2016-07-22 17:18:15 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-22 17:56:52 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 17:58:27 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/80155b30015fca0ea8774117ee2a9b8d0d8da91d
Cr-Commit-Position: refs/heads/master@{#407197}

Powered by Google App Engine
This is Rietveld 408576698