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

Issue 1040083003: [Password Manager] Fix to resolve DCHECK when seeing '\n' character in a saved credential username. (Closed)

Created:
5 years, 8 months ago by Pritam Nikam
Modified:
5 years, 8 months ago
CC:
chromium-reviews, estade+watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Manager] Fix to resolve DCHECK when seeing '\n' character in a saved credential username. With present implementation the autofill suggestions get elided to fit within the screen bounds. Same (elided text "userā¤") being compared with actual suggestion values ("user\n") at the time of selecting suggestions, that apparently fails and results into browser abort with DCHECK. With this patch we pass actual suggestion value string instead of elided text to DidSelectSuggestion() avoiding DCHECK failure. BUG=458178 Committed: https://crrev.com/a00232759e5d75b0c56d8b9e6e66b8f7c5a01ab5 Cr-Commit-Position: refs/heads/master@{#323114}

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/ui/autofill/autofill_popup_controller_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
Pritam Nikam
Hi Vaclav, With this patch issue gets resolve, please have a look at CL. Thanks!
5 years, 8 months ago (2015-03-31 06:54:13 UTC) #3
vabr (Chromium)
Thanks, Pritam Nikam. This looks reasonable to me, but you need somebody from chrome/browser/ui/autofill/OWNERS to ...
5 years, 8 months ago (2015-03-31 10:36:36 UTC) #4
Pritam Nikam
Hi Ilya, PTAL, thanks!
5 years, 8 months ago (2015-03-31 13:09:21 UTC) #6
Ilya Sherman
lgtm
5 years, 8 months ago (2015-03-31 20:34:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1040083003/20001
5 years, 8 months ago (2015-03-31 20:35:25 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:20001)
5 years, 8 months ago (2015-03-31 21:28:35 UTC) #10
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 21:29:44 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a00232759e5d75b0c56d8b9e6e66b8f7c5a01ab5
Cr-Commit-Position: refs/heads/master@{#323114}

Powered by Google App Engine
This is Rietveld 408576698