"Not Secure" warning flickers (appears and disappears) on every keystroke |
|||||||
Issue descriptionChrome Version: 58.0.2993.0 OS: Windows 10 What steps will reproduce the problem? (1) Open Chrome with a clean profile e.g. chrome.exe --profile-dir="C:\temp" http://ericlawrence.com/test/forms/password.htm (2) In the username or password box, type several characters Observe: The "Login not secure" warning message disappears after every character and reappears. Expect: Message does not flicker. This doesn't happen in Chrome when the case where the user is typing a previously-stored username in the field; the "Not secure" header appears atop the flyout containing username suggestions. The ShowNotSecureWarning() does not check to see if the existing popup is the not secure warning before calling HidePopup(). https://cs.chromium.org/chromium/src/components/autofill/content/renderer/autofill_agent.cc?q=ShowNotSecureWarning&sq=package:chromium&dr=CSs&l=581 Removing the HidePopup() call solves the problem, but isn't likely the real fix.
,
Jan 26 2017
,
Jan 31 2017
Prototyping indicates that simply removing the HidePopup() call doesn't break anything. https://codereview.chromium.org/2666873004
,
Feb 1 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3249c30a2d284c39241d2e7371656fe79c825669 commit 3249c30a2d284c39241d2e7371656fe79c825669 Author: elawrence <elawrence@chromium.org> Date: Wed Feb 01 19:23:49 2017 Do not hide the "Login Not Secure" warning on keystrokes The AutofillAgent::ShowNotSecureWarning function called HidePopup() unnecessarily each time it was called. This caused the "Login Not Secure" popup message to hide and reshow each time the user typed a key. Removing this call fixes the problem, and the code still behaves correctly in the event that autofill suggestions are available or the password generation popup is showing. BUG= 685769 TEST=From an empty profile, visit a HTTP page that collects passwords (e.g. http://webdbg.com/test/forms/password.htm) and type in the name or password fields. Observe the "Login Not Secure" warning message; it should not flicker as characters are typed. Review-Url: https://codereview.chromium.org/2666873004 Cr-Commit-Position: refs/heads/master@{#447575} [modify] https://crrev.com/3249c30a2d284c39241d2e7371656fe79c825669/components/autofill/content/renderer/autofill_agent.cc
,
Feb 1 2017
,
Feb 3 2017
Fix is verified on Canary on Mac and Windows.
,
Feb 3 2017
Your change meets the bar and is auto-approved for M57. Please go ahead and merge the CL to branch 2987 manually. Please contact milestone owner if you have questions. Owners: amineer@(clank), cmasso@(bling), ketakid@(cros), govind@(desktop) For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 3 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/c06f9992e3e6714a812d67b4cdb850d1bc99d567 commit c06f9992e3e6714a812d67b4cdb850d1bc99d567 Author: Emily Stark <estark@google.com> Date: Fri Feb 03 18:49:12 2017 Do not hide the "Login Not Secure" warning on keystrokes The AutofillAgent::ShowNotSecureWarning function called HidePopup() unnecessarily each time it was called. This caused the "Login Not Secure" popup message to hide and reshow each time the user typed a key. Removing this call fixes the problem, and the code still behaves correctly in the event that autofill suggestions are available or the password generation popup is showing. BUG= 685769 TEST=From an empty profile, visit a HTTP page that collects passwords (e.g. http://webdbg.com/test/forms/password.htm) and type in the name or password fields. Observe the "Login Not Secure" warning message; it should not flicker as characters are typed. Review-Url: https://codereview.chromium.org/2666873004 Cr-Commit-Position: refs/heads/master@{#447575} (cherry picked from commit 3249c30a2d284c39241d2e7371656fe79c825669) Review-Url: https://codereview.chromium.org/2672823005 . Cr-Commit-Position: refs/branch-heads/2987@{#294} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} [modify] https://crrev.com/c06f9992e3e6714a812d67b4cdb850d1bc99d567/components/autofill/content/renderer/autofill_agent.cc |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by elawrence@chromium.org
, Jan 26 2017