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

Issue 13888008: Fix for forms with more than three address lines getting partially Autofilled (Closed)

Created:
7 years, 8 months ago by Jim Blackler
Modified:
7 years, 8 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix for forms with more than three address lines getting partially Autofilled With the fix all numbered address lines after line two are ignored (not just the third line); without the fix line four is classified as the start of a billing section and the form is 'split' in two address areas. The problem can seen on site https://www.southwesttrains.co.uk/register.aspx BUG=224601 TEST=Manual test; South West Trains site should fully autocomplete (including Post Code field). New unit test FormStructureTest.SurplusAddressLinesIgnored Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195024

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review revisions. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1732 lines, -7 lines) Patch
A chrome/test/data/autofill/heuristics/input/17_crbug_224601.html View 1 1 chunk +1630 lines, -0 lines 0 comments Download
A chrome/test/data/autofill/heuristics/output/17_crbug_224601.out View 1 1 chunk +54 lines, -0 lines 0 comments Download
M components/autofill/browser/address_field.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M components/autofill/browser/autofill_regex_constants.h View 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/browser/autofill_regex_constants.cc.utf8 View 1 chunk +3 lines, -3 lines 0 comments Download
M components/autofill/browser/form_structure_unittest.cc View 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Jim Blackler
7 years, 8 months ago (2013-04-14 21:36:38 UTC) #1
Ilya Sherman
Please also add a regression test for southwesttrains.co.uk under //chrome/test/data/autofill/heuristics/ https://codereview.chromium.org/13888008/diff/1/components/autofill/browser/address_field.cc File components/autofill/browser/address_field.cc (right): https://codereview.chromium.org/13888008/diff/1/components/autofill/browser/address_field.cc#newcode234 ...
7 years, 8 months ago (2013-04-17 05:56:33 UTC) #2
Jim Blackler
On 2013/04/17 05:56:33, Ilya Sherman wrote: > Please also add a regression test for southwesttrains.co.uk ...
7 years, 8 months ago (2013-04-18 13:49:09 UTC) #3
Jim Blackler
https://codereview.chromium.org/13888008/diff/1/components/autofill/browser/address_field.cc File components/autofill/browser/address_field.cc (right): https://codereview.chromium.org/13888008/diff/1/components/autofill/browser/address_field.cc#newcode234 components/autofill/browser/address_field.cc:234: while (ParseField(scanner, pattern, NULL)); Oh yeah it seems I ...
7 years, 8 months ago (2013-04-18 13:49:22 UTC) #4
Ilya Sherman
LGTM, thanks :)
7 years, 8 months ago (2013-04-18 16:51:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jimblackler@chromium.org/13888008/14001
7 years, 8 months ago (2013-04-18 20:26:27 UTC) #6
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 22:50:15 UTC) #7
Message was sent while issue was closed.
Change committed as 195024

Powered by Google App Engine
This is Rietveld 408576698