Description[Password Manager] Changes implementation of left elided origins on chrome://settings/passwords (Relanding)
Reland https://codereview.chromium.org/1826533003/. It broke Closure Linux Compilation bot (https://build.chromium.org/p/chromium.fyi/builders/Closure%20Compilation%20Linux/builds/50842). The bot complained on parseInt calls. parseInt should be called with 2 arguments (parsed string and base).
There was also a bug in the algorithm of updateOriginsEliding_. Reproduction: user enters a query w/o any matching entries in search box (i.e. there will be no entries) and then removes the query. The algorithm falls into infinite loop, because entry.urlDiv.offsetWidth is 0. We have to swap updateOriginsEliding_ and updateListVisibility_ to update the list before we read entry.urlDiv.offsetWidth.
BUG=595662, 595276
Committed: https://crrev.com/fa2ae1d61d3bb8d61e6bf2aee4d17662925d70ab
Cr-Commit-Position: refs/heads/master@{#383927}
Patch Set 1 : Reverted CL #Patch Set 2 : Fixes parseInt and infinite loop issues #Patch Set 3 : Exception origins should be copiable, usernames shouldn't (because they are <input>'s) #
Total comments: 2
Patch Set 4 : Added the comment on the order of method calls. #
Total comments: 2
Patch Set 5 : Add the check that columnWidth > 0 #
Dependent Patchsets: Messages
Total messages: 14 (6 generated)
|