New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 710974 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner:
Email to this user bounced
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

[Autofill] Be smarter when comparing names in Autofill upstream

Project Member Reported by ma...@chromium.org, Apr 12 2017

Issue description

Currently we compare credit card / address names in a pretty simple way to determine upstream [1].

Recently, more sophisticated methods were introduced to compare name and their variants [2].

We should consider using those if it makes sense for upstream.

Over to Sashi for triage.

[1] https://cs.chromium.org/chromium/src/components/autofill/core/browser/autofill_manager.cc?rcl=e9b931b5db3e382b208607439ebc22ab0a7e5a68&l=1288

[2] https://cs.chromium.org/chromium/src/components/autofill/core/browser/autofill_profile_comparator.h?rcl=e9b931b5db3e382b208607439ebc22ab0a7e5a68&l=150
 

Comment 1 by csashi@google.com, Apr 27 2017

Cc: jsaul@google.com
Sorry for the delay. Looks like we could use [2] but I will let Jared comment on whether it is compatible with the server rules (the name normalization we currently use tries to reflect rules enforced by the server to avoid unnecessary uploads).

Comment 2 by jsaul@google.com, Apr 27 2017

It's currently not compatible with the server rules; originally I implemented name validation first, and then jdonnelly@ implemented the exact same thing I did but client-side.  We did it this way because we wanted to be super cautious about having good, valid data before saving anything to Payments.  

I'd be interested in looking into this.  Name validation is a significant chunk of why Chrome might not offer upload, so if there are more sophisticated methods to check it with confidence, I'm all ears.

Comment 3 by csashi@google.com, May 4 2017

Cc: zkoch@chromium.org ma...@chromium.org jdonnelly@chromium.org
 Issue 590307  has been merged into this issue.

Comment 6 by csashi@google.com, May 26 2017

Status: Fixed (was: Available)

Sign in to add a comment