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

Issue 1053473002: Autofill: Use field maxlength to improve credit card date matching. (Closed)

Created:
5 years, 8 months ago by Lei Zhang
Modified:
5 years, 8 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, estade+watch_chromium.org, browser-components-watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Autofill: Use field maxlength to improve credit card date matching. BUG=471748 Committed: https://crrev.com/def97be0d5af9cda83e71eb0994f596a6aa80af3 Cr-Commit-Position: refs/heads/master@{#323430}

Patch Set 1 #

Total comments: 4

Patch Set 2 : nit #

Total comments: 1

Patch Set 3 : nit2 #

Patch Set 4 : add form structure browser test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -0 lines) Patch
A chrome/test/data/autofill/heuristics/input/bug_471748.html View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/test/data/autofill/heuristics/output/bug_471748.out View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/credit_card_field.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M components/autofill/core/browser/credit_card_field_unittest.cc View 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
Lei Zhang
5 years, 8 months ago (2015-04-01 01:29:28 UTC) #2
Evan Stade
https://codereview.chromium.org/1053473002/diff/1/components/autofill/core/browser/credit_card_field.cc File components/autofill/core/browser/credit_card_field.cc (right): https://codereview.chromium.org/1053473002/diff/1/components/autofill/core/browser/credit_card_field.cc#newcode366 components/autofill/core/browser/credit_card_field.cc:366: static int kMinimum4YearCcExpLength = strlen("2014-12"); I guess it's a ...
5 years, 8 months ago (2015-04-01 23:08:27 UTC) #3
Lei Zhang
https://codereview.chromium.org/1053473002/diff/1/components/autofill/core/browser/credit_card_field.cc File components/autofill/core/browser/credit_card_field.cc (right): https://codereview.chromium.org/1053473002/diff/1/components/autofill/core/browser/credit_card_field.cc#newcode366 components/autofill/core/browser/credit_card_field.cc:366: static int kMinimum4YearCcExpLength = strlen("2014-12"); On 2015/04/01 23:08:27, Evan ...
5 years, 8 months ago (2015-04-02 00:30:13 UTC) #4
Evan Stade
no new form structure browser test? https://codereview.chromium.org/1053473002/diff/20001/components/autofill/core/browser/credit_card_field.cc File components/autofill/core/browser/credit_card_field.cc (right): https://codereview.chromium.org/1053473002/diff/20001/components/autofill/core/browser/credit_card_field.cc#newcode382 components/autofill/core/browser/credit_card_field.cc:382: remove \n
5 years, 8 months ago (2015-04-02 00:42:52 UTC) #5
Lei Zhang
On 2015/04/02 00:42:52, Evan Stade wrote: > no new form structure browser test? The form ...
5 years, 8 months ago (2015-04-02 01:28:34 UTC) #6
Evan Stade
On 2015/04/02 01:28:34, Lei Zhang wrote: > On 2015/04/02 00:42:52, Evan Stade wrote: > > ...
5 years, 8 months ago (2015-04-02 01:32:22 UTC) #7
Lei Zhang
On 2015/04/02 01:32:22, Evan Stade wrote: > Since we rely on those form structure tests ...
5 years, 8 months ago (2015-04-02 01:42:32 UTC) #8
Evan Stade
sure, unit test is fine to keep. thanks. lgtm.
5 years, 8 months ago (2015-04-02 02:01:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1053473002/60001
5 years, 8 months ago (2015-04-02 02:04:39 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-02 05:12:00 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-03 20:22:50 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/def97be0d5af9cda83e71eb0994f596a6aa80af3
Cr-Commit-Position: refs/heads/master@{#323430}

Powered by Google App Engine
This is Rietveld 408576698