Closed Bug 1610539 Opened 5 years ago Closed 5 years ago

Autocomplete dropdown is not toggled for some sites with multiple saved logins (on page load when the field is auto-focused)

Categories

(Toolkit :: Password Manager: Site Compatibility, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla74
Tracking Status
firefox-esr68 --- unaffected
firefox72 --- wontfix
firefox73 + verified
firefox74 + verified

People

(Reporter: tbabos, Assigned: enndeakin)

References

(Blocks 1 open bug, Regression, )

Details

(Keywords: regression)

Attachments

(3 files)

Attached file Log File for Facebook

Unaffected version:
Firefox 70 Release

Affected platforms:
Mac OS 10.13
Ubuntu 16.04
Windows 10

Steps to reproduce:

  1. Launch Firefox
  2. Go to facebook.com and save 2 set of credentials
  3. Reload facebook

2.1. Go to imgur/signin and save 2 credentials
3.1. Reload the login form

Expected:
The autocomplete dropdown should be toggled due to the username field focus on page load

Actual:
The autocomplete dropdown is not automatically toggled. [Facebook]
The autocomplete dropdown is shown a glimpse and is closed [Imgur]
This works in FX70 correctly
Works on reddit.com and github

Regression-Range:
Found Bug 1573836 as the regressor. While it fixed Bug 1548575, seems like it also broke facebook and imgur (not sure how many other sites with field focus on load are affected by this)

Attached video Comparison to FX70
Blocks: 1585952

Not sure how this got missed in Fx72, but this doesn't sound good.

Flags: needinfo?(enndeakin)
Priority: -- → P2
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Flags: needinfo?(enndeakin)
Attachment #9122735 - Attachment description: Bug 1610539, don't perform focusing steps when attaching formfill to a document that isn't focused, r=mak → Bug 1610539, don't perform focusing steps when attaching formfill to a document such as a subframe that isn't focused r=MattN

This is also reproducible on vk.com.

Blocks: 1611900

Adding more sites to test against, once the bug gets fixed:
In private mode, on ok.ru and quoara.com, with one single login saved, the username being auto-focused, you will get the show-dismiss flicker.

Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f567747993a7 don't perform focusing steps when attaching formfill to a document such as a subframe that isn't focused r=MattN

Adding livejasmin.com for verification.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74

Verified - fixed on latest Nightly 74.0a1 (2020-01-31) on Windows 10 x64, Ubuntu 18.04, MacOS 10.15 on following sites:
facebook.com
imgur.com
mail.ru
ok.ru
quora.com
livejasmin.com
vk.com

Waiting for Uplift to Beta.

Should this have gotten an approval request for 73? We're in RC week at this point, so please nominate for release approval if the answer is yes.

Flags: needinfo?(enndeakin)

Comment on attachment 9122735 [details]
Bug 1610539, don't perform focusing steps when attaching formfill to a document such as a subframe that isn't focused r=MattN

Beta/Release Uplift Approval Request

  • User impact if declined: Some pages (such as facebook and imgur) don't display the autocomplete dropdown on load when multiple logins are present. Some pages with login forms flicker the autocomplete dropdown on load.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Should be low risk. Pages with child iframes were overriding the decision to show the autocomplete popup. Instead only the focused frame is used.
  • String changes made/needed: None
Flags: needinfo?(enndeakin)
Attachment #9122735 - Flags: approval-mozilla-release?
Attachment #9122735 - Flags: approval-mozilla-beta?

Comment on attachment 9122735 [details]
Bug 1610539, don't perform focusing steps when attaching formfill to a document such as a subframe that isn't focused r=MattN

Fixes issues with the autocomplete dropdown not appearing on sites when it should. Approved for 73.0RC1.

Attachment #9122735 - Flags: approval-mozilla-release?
Attachment #9122735 - Flags: approval-mozilla-release+
Attachment #9122735 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Verified fixed on Release Candidate 73.0 (ID: 20200203203546) on Windows 10, Mac OS 10.14 and Ubuntu 18.04.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: