Password field counter is not decremented when an iframe is hidden |
|||
Issue descriptionVersion: 56.0.2912.0 OS: Mac What steps will reproduce the problem? (1) Visit http://example.com (2) Run the following Javascript in the devtools console: var i = document.createElement("iframe") i.src="http://http-password.badssl.com" document.body.appendChild(i) (3) Observe the "Not secure" warning in the omnibox. (4) Run the following javascript: i.style="display:none;" What is the expected output? The "Not secure" omnibox warning goes away. What do you see instead? The "Not secure" warning stays in the omnibox. Layout objects must not get destroyed when an iframe is hidden. This is probably what's happening on times.com as well.
,
Nov 8 2016
I've added a clickable repro at http://webdbg.com/test/forms/combo.html -- just use the links above the middle frame. If you remove the removeChild the frame from the overall page, the indicator hides as expected.
,
Nov 17 2016
,
Mar 15 2017
We decided that this wasn't worth an ad hoc fix. The iframe 'display: none' case should be taken care of by issue 650433 . |
|||
►
Sign in to add a comment |
|||
Comment 1 by elawrence@chromium.org
, Nov 8 2016