Chromium Code Reviews
DescriptionPassword 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. #
Messages
Total messages: 18 (0 generated)
|
|||||||||||||||||||||||||||||||||||||