Autofill: Use field maxlength to improve credit card date matching.
commitdef97be0d5af9cda83e71eb0994f596a6aa80af3
authorthestig <thestig@chromium.org>
Thu, 2 Apr 2015 05:11:51 +0000 (1 22:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Apr 2015 05:12:16 +0000 (2 05:12 +0000)
treecf839bc622e6cc2cd835ea2a07d98a5f0514e95b
parentb563202b63c248fa7f3605f802d7649ae7d48562
Autofill: Use field maxlength to improve credit card date matching.

BUG=471748

Review URL: https://codereview.chromium.org/1053473002

Cr-Commit-Position: refs/heads/master@{#323430}
chrome/test/data/autofill/heuristics/input/bug_471748.html [new file with mode: 0644]
chrome/test/data/autofill/heuristics/output/bug_471748.out [new file with mode: 0644]
components/autofill/core/browser/credit_card_field.cc
components/autofill/core/browser/credit_card_field_unittest.cc