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

Issue 2736393003: Clear password values before sending them to the renderer process. (Closed)

Created:
3 years, 9 months ago by dvadym
Modified:
3 years, 9 months ago
Reviewers:
vasilii
CC:
chromium-reviews, jam, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear password values before sending them to the renderer process. All passwords for additional logins are cleared (that are passwords for non-preferred accounts, that possible to be filled on account select). In case of account select filling the password to the preferred account is also cleared. BUG=700960 Review-Url: https://codereview.chromium.org/2736393003 Cr-Commit-Position: refs/heads/master@{#456428} Committed: https://chromium.googlesource.com/chromium/src/+/bb38ea3085965823c24ac636a2d560631448c18d

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : test added #

Patch Set 4 : fixes #

Total comments: 6

Patch Set 5 : Adressed comments #

Total comments: 4

Patch Set 6 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -5 lines) Patch
M components/autofill/core/common/password_form_fill_data.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/common/password_form_fill_data.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver_unittest.cc View 1 2 3 4 5 5 chunks +63 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
dvadym
Hi Vasilii, could you please review this CL? Regards, Vadym
3 years, 9 months ago (2017-03-10 15:07:25 UTC) #3
vasilii
https://codereview.chromium.org/2736393003/diff/60001/components/autofill/core/common/password_form_fill_data.h File components/autofill/core/common/password_form_fill_data.h (right): https://codereview.chromium.org/2736393003/diff/60001/components/autofill/core/common/password_form_fill_data.h#newcode101 components/autofill/core/common/password_form_fill_data.h:101: PasswordFormFillData ClearNotNeededInRendererPasswords( ClearPasswordValues is a better name. https://codereview.chromium.org/2736393003/diff/60001/components/password_manager/content/browser/content_password_manager_driver_unittest.cc File ...
3 years, 9 months ago (2017-03-10 17:24:51 UTC) #4
dvadym
Thanks for comments Vasilii! I've adressed them. PTAL https://codereview.chromium.org/2736393003/diff/60001/components/autofill/core/common/password_form_fill_data.h File components/autofill/core/common/password_form_fill_data.h (right): https://codereview.chromium.org/2736393003/diff/60001/components/autofill/core/common/password_form_fill_data.h#newcode101 components/autofill/core/common/password_form_fill_data.h:101: PasswordFormFillData ...
3 years, 9 months ago (2017-03-13 15:49:45 UTC) #5
vasilii
Can you create a bug and write a more verbose description something like "Clear password ...
3 years, 9 months ago (2017-03-13 16:26:05 UTC) #6
dvadym
PTAL https://codereview.chromium.org/2736393003/diff/80001/components/password_manager/content/browser/content_password_manager_driver_unittest.cc File components/password_manager/content/browser/content_password_manager_driver_unittest.cc (right): https://codereview.chromium.org/2736393003/diff/80001/components/password_manager/content/browser/content_password_manager_driver_unittest.cc#newcode116 components/password_manager/content/browser/content_password_manager_driver_unittest.cc:116: static PasswordForm non_preferred_match = preferred_match; On 2017/03/13 16:26:04, ...
3 years, 9 months ago (2017-03-13 16:58:10 UTC) #9
vasilii
lgtm
3 years, 9 months ago (2017-03-13 17:00:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2736393003/100001
3 years, 9 months ago (2017-03-13 17:03:12 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-13 18:13:23 UTC) #15
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/bb38ea3085965823c24ac636a2d5...

Powered by Google App Engine
This is Rietveld 408576698