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

Issue 1639563002: [Autofill] Fill from the last digits when filling a phone number with a maximum length. (Closed)

Created:
4 years, 11 months ago by sebsg
Modified:
4 years, 11 months ago
Reviewers:
Mathieu
CC:
chromium-reviews, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

For phone fields that have a maxLength attribute of 10 (city code + phone number), if the value of the phone number is larger, fill the field with the last 10 digits. BUG=579674 TEST=AutofillFieldTest Committed: https://crrev.com/1aea64bdff908c94c4c032935d3c3b9a906afd91 Cr-Commit-Position: refs/heads/master@{#371946}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressed comments #

Total comments: 12

Patch Set 3 : Rebase #

Patch Set 4 : Nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -52 lines) Patch
M components/autofill/core/browser/autofill_field.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_field.cc View 1 2 3 2 chunks +30 lines, -15 lines 0 comments Download
M components/autofill/core/browser/autofill_field_unittest.cc View 1 2 1 chunk +40 lines, -18 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 6 chunks +23 lines, -17 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
sebsg
PTAL
4 years, 11 months ago (2016-01-25 22:18:07 UTC) #6
Mathieu
https://codereview.chromium.org/1639563002/diff/20001/components/autofill/core/browser/autofill_field.cc File components/autofill/core/browser/autofill_field.cc (right): https://codereview.chromium.org/1639563002/diff/20001/components/autofill/core/browser/autofill_field.cc#newcode560 components/autofill/core/browser/autofill_field.cc:560: if (number.length() == In which cases will the phone ...
4 years, 11 months ago (2016-01-26 14:43:02 UTC) #7
sebsg
Thanks for your comments! https://codereview.chromium.org/1639563002/diff/20001/components/autofill/core/browser/autofill_field.cc File components/autofill/core/browser/autofill_field.cc (right): https://codereview.chromium.org/1639563002/diff/20001/components/autofill/core/browser/autofill_field.cc#newcode560 components/autofill/core/browser/autofill_field.cc:560: if (number.length() == On 2016/01/26 ...
4 years, 11 months ago (2016-01-26 23:56:26 UTC) #9
Mathieu
Just nits about comments. Otherwise lgtm https://codereview.chromium.org/1639563002/diff/20001/components/autofill/core/browser/autofill_field_unittest.cc File components/autofill/core/browser/autofill_field_unittest.cc (right): https://codereview.chromium.org/1639563002/diff/20001/components/autofill/core/browser/autofill_field_unittest.cc#newcode262 components/autofill/core/browser/autofill_field_unittest.cc:262: TEST(AutofillFieldTest, FillPhoneNumber) { ...
4 years, 11 months ago (2016-01-27 14:30:49 UTC) #10
sebsg
Thanks! https://codereview.chromium.org/1639563002/diff/20001/components/autofill/core/browser/autofill_field_unittest.cc File components/autofill/core/browser/autofill_field_unittest.cc (right): https://codereview.chromium.org/1639563002/diff/20001/components/autofill/core/browser/autofill_field_unittest.cc#newcode262 components/autofill/core/browser/autofill_field_unittest.cc:262: TEST(AutofillFieldTest, FillPhoneNumber) { On 2016/01/27 14:30:49, Mathieu Perreault ...
4 years, 11 months ago (2016-01-27 21:01:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639563002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639563002/120001
4 years, 11 months ago (2016-01-28 00:44:46 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 11 months ago (2016-01-28 00:53:14 UTC) #17
commit-bot: I haz the power
4 years, 11 months ago (2016-01-28 01:16:30 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1aea64bdff908c94c4c032935d3c3b9a906afd91
Cr-Commit-Position: refs/heads/master@{#371946}

Powered by Google App Engine
This is Rietveld 408576698