New issue
Advanced search Search tips

Issue 631473 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 699530
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocking:
issue 699530



Sign in to add a comment

Improve username field detection

Project Member Reported by asredzki@google.com, Jul 26 2016

Issue description

Currently business numbers are not preferred over date fields for a username field. This makes for an unpleasant user experience since each usage of the form creates a new account (assuming a different date is used). 

Steps to reproduce:
 a) Navigate to http://www.cra-arc.gc.ca/esrvc-srvce/tx/bsnss/gsthst-tpstch-ntfl/fl-eng.html
 b) Click the "Continue" button
 c) Fill info
 d) On next usage, the previously used date will be suggested as a known username. If you change the date then the password will be removed.
 

Comment 1 by vabr@chromium.org, Jul 27 2016

Cc: dvadym@chromium.org kolos@chromium.org
Labels: Hotlist-Polish
Thanks for the report. I'm Cc-ing dvadym@ and kolos@ who work on related improvements.

The last sentence of your report appears to be another bug: Chrome should let you change the username without discarding the filled password. I would like to try this out, but in a truly bureaucratic fashion, the site refuses to render the password form now, saying it would only do so during: "7:30 a.m. to 11:30 p.m. (local time within Canada and the U.S.)," whatever "local time withing Canada and the U.S." means. I'll try later today.

Comment 2 by vabr@chromium.org, Jul 27 2016

I had a chance to check out the form now.

The main issue is, unsurprisingly, confirmed, with Chrome not understanding which text field is supposed to be the "username". I support any improvement we can make, but, really, with forms like this, the web author should just mark the username field with autocomplete=username. If I understand this correctly, the username here is split over two fields, so we won't be able to fill completely anyway.

What I was not able to confirm, though, was that if you change the date (specifically, the "DD" part of "To", which is what Chrome autofills), that the password is then overwritten. In my case it stays autofilled. My Chrome version is 53.0.2785.30, OS is GNU/Linux, and I have been using chrome://flags/#enable-password-force-saving to save a fake credential for testing purposes.
Project Member

Comment 3 by sheriffbot@chromium.org, Jul 27 2016

Labels: Hotlist-Google

Comment 4 by asredzki@google.com, Jul 27 2016

Thanks for looking into this so promptly vabr@.

I'll confirm the details of the second part of the issue with the person who reported it to me and get back to you. I'll be sure to have them include their chrome version as well, but it's likely the latest stable release.

As to the first part, it might be an unrealistic expectation for us to be able to detect these obscure "username" fields, especially when they might consist of multiple fields. That said, what is perhaps the most prominent deterrent for autofill & password autofill usage alike is bad data. Thus, it'd be great to have better negative heuristics for knowing what fields are unlikely to be a username field (the date field in this case) if we don't have a positive heuristic for any field, and to not save such info at all.

Comment 5 by vabr@chromium.org, Jul 28 2016

Thanks!

If the second part (changing username erasing passwords) proves to be reproducible, that would likely be worth a separate bug, to keep this focused.

While I generally agree with your 3rd paragraph in #4, I'd keep decisions of how to act here to kolos@ and dvadym@, who already are working in this area.

Comment 6 by asredzki@google.com, Jul 29 2016

Turns out that there was some miscommunication and only the first part of the issue occurred, the user did not have the password field cleared if it was manually entered and the date was changed.

Thanks.

Comment 7 by kolos@chromium.org, Mar 8 2017

Mergedinto: 699530
Status: Duplicate (was: Untriaged)

Comment 8 by kolos@chromium.org, Jan 25 2018

Blocking: 699530

Sign in to add a comment