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

Issue 545433003: Don't allow the empty new password to overwrite the existing one. (Closed)

Created:
6 years, 3 months ago by vasilii
Modified:
6 years, 3 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Don't allow the empty new password to overwrite the existing one. BUG=404012, 410798 Committed: https://crrev.com/d2de6078e7f2ce097c3f31b1832d7260f93cd92c Cr-Commit-Position: refs/heads/master@{#293492}

Patch Set 1 #

Total comments: 2

Patch Set 2 : +test #

Total comments: 6

Patch Set 3 : added comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -1 line) Patch
M components/password_manager/core/browser/password_manager.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 2 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
vasilii
Hi Vaclav, please review.
6 years, 3 months ago (2014-09-04 12:23:35 UTC) #2
vabr (Chromium)
Thanks, Vasilii! Looks good, but could you please add a test? Cheers, Vaclav https://codereview.chromium.org/545433003/diff/1/components/password_manager/core/browser/password_manager.cc File ...
6 years, 3 months ago (2014-09-04 13:28:03 UTC) #3
vasilii
https://codereview.chromium.org/545433003/diff/1/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/545433003/diff/1/components/password_manager/core/browser/password_manager.cc#newcode180 components/password_manager/core/browser/password_manager.cc:180: if (!form.new_password_element.empty() && form.new_password_value.empty()) { On 2014/09/04 13:28:03, vabr ...
6 years, 3 months ago (2014-09-04 15:51:55 UTC) #4
vabr (Chromium)
LGTM with comments. Thanks, Vasilii! Vaclav https://codereview.chromium.org/545433003/diff/20001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/545433003/diff/20001/components/password_manager/core/browser/password_manager_unittest.cc#newcode801 components/password_manager/core/browser/password_manager_unittest.cc:801: TEST_F(PasswordManagerTest, UpdateWithEmptyPassword) { ...
6 years, 3 months ago (2014-09-04 20:14:14 UTC) #5
vabr (Chromium)
I updated the description by adding the number of the bug engedy@ created for this ...
6 years, 3 months ago (2014-09-05 08:37:04 UTC) #6
vasilii
https://codereview.chromium.org/545433003/diff/20001/components/password_manager/core/browser/password_manager_unittest.cc File components/password_manager/core/browser/password_manager_unittest.cc (right): https://codereview.chromium.org/545433003/diff/20001/components/password_manager/core/browser/password_manager_unittest.cc#newcode801 components/password_manager/core/browser/password_manager_unittest.cc:801: TEST_F(PasswordManagerTest, UpdateWithEmptyPassword) { On 2014/09/04 20:14:14, vabr (Chromium) wrote: ...
6 years, 3 months ago (2014-09-05 09:08:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vasilii@chromium.org/545433003/40001
6 years, 3 months ago (2014-09-05 09:10:29 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 00f9a502386554167a43b0e2306b89314fdcc585
6 years, 3 months ago (2014-09-05 10:22:13 UTC) #10
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:38:33 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d2de6078e7f2ce097c3f31b1832d7260f93cd92c
Cr-Commit-Position: refs/heads/master@{#293492}

Powered by Google App Engine
This is Rietveld 408576698