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

Issue 2291123008: Test that LoginDatabase preserves PasswordForm::Scheme through migration (Closed)

Created:
4 years, 3 months ago by vabr (Chromium)
Modified:
4 years, 3 months ago
Reviewers:
vasilii
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Test that LoginDatabase preserves PasswordForm::Scheme through migration When looking at http://crbug.com/640897 I was asking myself if a credential stored for a basic HTTP Auth could end up being stored with PasswordForm::SCHEME_HTML. So I added some tests to check this. They pass, so hopefully there is no issue with this in the production code. BUG=640897 Committed: https://crrev.com/209c98125433d97245ff70663ccb0698b3dc6aa9 Cr-Commit-Position: refs/heads/master@{#415968}

Patch Set 1 #

Patch Set 2 : Add missed datafiles #

Patch Set 3 : Avoid decryption on Win #

Total comments: 2

Patch Set 4 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+571 lines, -23 lines) Patch
M components/password_manager/core/browser/login_database_unittest.cc View 11 chunks +45 lines, -22 lines 0 comments Download
M components/password_manager/core/browser/login_database_win.cc View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v1.sql View 1 chunk +15 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v10.sql View 3 chunks +49 lines, -1 line 0 comments Download
M components/test/data/password_manager/login_db_v11.sql View 1 chunk +24 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v12.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v13.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v14.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v15.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v16.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v17.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v18.sql View 1 chunk +24 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v1_broken.sql View 1 1 chunk +19 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v2.sql View 1 chunk +17 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v2_broken.sql View 1 1 chunk +19 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v3.sql View 1 chunk +18 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v3_broken.sql View 1 1 chunk +19 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v4.sql View 1 chunk +19 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v5.sql View 1 chunk +20 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v6.sql View 1 chunk +21 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v7.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v8.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v9.sql View 1 chunk +25 lines, -0 lines 0 comments Download
M components/test/data/password_manager/login_db_v9_without_use_additional_auth_field.sql View 1 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
vabr (Chromium)
Hi Vasilii, Does this additional testing look good to you? There was not a real ...
4 years, 3 months ago (2016-09-01 13:02:29 UTC) #8
vasilii
lgtm
4 years, 3 months ago (2016-09-01 13:46:44 UTC) #11
vabr (Chromium)
Thanks, Vasilii. Could you please review my additional change to components/password_manager/core/browser/login_database_win.cc? Reason for the change: ...
4 years, 3 months ago (2016-09-01 14:25:20 UTC) #14
vasilii
lgtm https://codereview.chromium.org/2291123008/diff/40001/components/password_manager/core/browser/login_database_win.cc File components/password_manager/core/browser/login_database_win.cc (right): https://codereview.chromium.org/2291123008/diff/40001/components/password_manager/core/browser/login_database_win.cc#newcode25 components/password_manager/core/browser/login_database_win.cc:25: if (cipher_text.empty()) { Add a comment explaining why ...
4 years, 3 months ago (2016-09-01 14:58:32 UTC) #15
vabr (Chromium)
https://codereview.chromium.org/2291123008/diff/40001/components/password_manager/core/browser/login_database_win.cc File components/password_manager/core/browser/login_database_win.cc (right): https://codereview.chromium.org/2291123008/diff/40001/components/password_manager/core/browser/login_database_win.cc#newcode25 components/password_manager/core/browser/login_database_win.cc:25: if (cipher_text.empty()) { On 2016/09/01 14:58:32, vasilii wrote: > ...
4 years, 3 months ago (2016-09-01 15:19:51 UTC) #18
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/2291123008/60001
4 years, 3 months ago (2016-09-01 15:19:58 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-01 16:32:48 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 16:35:04 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/209c98125433d97245ff70663ccb0698b3dc6aa9
Cr-Commit-Position: refs/heads/master@{#415968}

Powered by Google App Engine
This is Rietveld 408576698