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 : #
Messages
Total messages: 11 (4 generated)
|