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

Issue 677144 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug

Blocking:
issue 672668



Sign in to add a comment

Form-Not-Secure doesn't always work on page load

Project Member Reported by est...@chromium.org, Dec 27 2016

Issue description

Chrome Version: 57.0.2964.0
OS: Mac but have also been able to reproduce on Linux

What steps will reproduce the problem?
(1) Visit http://rsolomakhin.github.io/autofill/ and save a username/password in the Name/Password form.
(2) Enable "Fill passwords on account select" in chrome://flags and relaunch Chrome.
(3) Navigate to http://rsolomakhin.github.io/autofill/.

What is the expected result?
Autofill dropdown appears in the Name/Password form on page load.

What happens instead?
Occasionally, the dropdown does not show up. It's a bit hard to reproduce; I seem to have the best luck when I navigate directly to http://rsolomakhin.github.io/autofill/ upon opening the browser.

I ran into this (and will need to fix) as part of working on  issue 672668 . I've debugged a little bit and it seems like some events that can cause the autofill popup to hide itself can come in after the fill-on-account-select flow kicks in. For example, I've seen a RenderWidgetWasResized message come in after the autofill popup is shown in a few instances; the RenderWidgetWasResized messages hides the autofill popup.
 

Comment 1 by vabr@chromium.org, Dec 28 2016

Labels: Hotlist-Polish

Comment 2 by est...@chromium.org, Dec 30 2016

Labels: Hotlist-HttpBadFormNotSecure

Comment 3 by est...@chromium.org, Dec 30 2016

Poking around at this a bit, one possible way to fix might be to always early-return in ChromeAutofillClient::MainFrameWasResized if |width_changed| is false. (Currently we only early-return in that case on Android.)
Blocking: 672668
Cc: jww@chromium.org
Labels: -Pri-3 M-57 Pri-1
Owner: est...@chromium.org
Status: Assigned (was: Untriaged)

Comment 6 by est...@chromium.org, Jan 10 2017

Update after poking around a bit more (mostly notes for self): I think this might be triggered by infobars/bookmark bar on the NTP. When that info disappears on navigation, the main frame is reported to have resized, and that resize message can come after the autofill popup is shown.

Comment 7 by est...@chromium.org, Jan 26 2017

Status: WontFix (was: Assigned)
Summary: Form-Not-Secure doesn't always work on page load (was: Fill on account select doesn't always work on page load)
We decided not to show the FNS warning on page load due to bugginess. This will still need to be fixed for fill-on-account-select though.

Sign in to add a comment