Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Issue 221853003: Password bubble: Add a test for displayed password length. (Closed)

Created:
6 years, 8 months ago by Mike West
Modified:
6 years, 8 months ago
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Password bubble: Obscure password values via Label::SetObscured. Rather than obscuring the password value manually, we can now rely on Label's built-in obfuscation. This has the nice side-effect of dealing correctly with surrogate pairs. This does mean that we're relying on the built-in eliding functionality rather than capping the displayed length of passwords at 22 characters. I think that's a pretty reasonable thing to do, actually; if I have a thousand-character password (it could happen!), seeing an ellipsis would match my expectations around what the bubble should display. BUG=328339 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261799

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rewrite. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -18 lines) Patch
M chrome/browser/ui/views/passwords/manage_password_item_view.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_password_item_view.cc View 1 4 chunks +7 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Mike West
Hi Markus and Patrick! Regardless of what we decide to do with https://codereview.chromium.org/221003002/, we should ...
6 years, 8 months ago (2014-04-02 09:28:19 UTC) #1
Patrick Dubroy
https://codereview.chromium.org/221853003/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc File chrome/browser/ui/passwords/manage_passwords_bubble_model.cc (right): https://codereview.chromium.org/221853003/diff/1/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc#newcode104 chrome/browser/ui/passwords/manage_passwords_bubble_model.cc:104: base::string16 ManagePasswordsBubbleModel::GetPasswordDisplayString( I definitely think adding some tests for ...
6 years, 8 months ago (2014-04-02 09:41:50 UTC) #2
Mike West
Putting this on hold until https://codereview.chromium.org/222033002/ is worked out.
6 years, 8 months ago (2014-04-03 06:45:27 UTC) #3
Mike West
Vaclav, can I fall back on you for a pre-review so I can get someone ...
6 years, 8 months ago (2014-04-04 07:52:44 UTC) #4
Mike West
On 2014/04/04 07:52:44, Mike West wrote: > Vaclav, can I fall back on you for ...
6 years, 8 months ago (2014-04-04 07:53:13 UTC) #5
vabr (Chromium)
LGTM, in particular I see no concerns with not capping the length of the password ...
6 years, 8 months ago (2014-04-04 08:14:00 UTC) #6
Mike West
On 2014/04/04 08:14:00, vabr (Chromium) wrote: > LGTM, in particular I see no concerns with ...
6 years, 8 months ago (2014-04-04 08:44:12 UTC) #7
vabr (Chromium)
On 2014/04/04 08:44:12, Mike West wrote: > On 2014/04/04 08:14:00, vabr (Chromium) wrote: > > ...
6 years, 8 months ago (2014-04-04 08:47:16 UTC) #8
markusheintz_
LGTM.
6 years, 8 months ago (2014-04-04 12:48:15 UTC) #9
markusheintz_
On 2014/04/04 12:48:15, markusheintz_ wrote: > LGTM. Oh BTW: The CL description seems to be ...
6 years, 8 months ago (2014-04-04 12:49:09 UTC) #10
markusheintz_
On 2014/04/04 12:48:15, markusheintz_ wrote: > LGTM. Oh BTW: The CL description seems to be ...
6 years, 8 months ago (2014-04-04 12:49:09 UTC) #11
markusheintz_
On 2014/04/04 12:48:15, markusheintz_ wrote: > LGTM. Oh BTW: The CL description seems to be ...
6 years, 8 months ago (2014-04-04 12:49:10 UTC) #12
markusheintz_
The CL description is a bit off. Could you fix it? Thanks
6 years, 8 months ago (2014-04-04 12:49:45 UTC) #13
Mike West
On 2014/04/04 12:49:45, markusheintz_ wrote: > The CL description is a bit off. Could you ...
6 years, 8 months ago (2014-04-04 12:51:25 UTC) #14
Mike West
The CQ bit was checked by mkwst@chromium.org
6 years, 8 months ago (2014-04-04 12:51:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/221853003/20001
6 years, 8 months ago (2014-04-04 12:52:03 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mkwst@chromium.org/221853003/20001
6 years, 8 months ago (2014-04-04 15:28:38 UTC) #17
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 18:34:29 UTC) #18
Message was sent while issue was closed.
Change committed as 261799

Powered by Google App Engine
This is Rietveld 408576698