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

Issue 489103004: Allow editing passwords in settings/passwords (Closed)

Created:
6 years, 4 months ago by jaekyeom
Modified:
4 years, 3 months ago
Reviewers:
vabr (Chromium), engedy, georgeramirez1983, Dan Beam
CC:
chromium-reviews, dbeam+watch-options_chromium.org, gcasto+watchlist_chromium.org, arv+watch_chromium.org, mkwst+watchlist_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Allow editing passwords in settings/passwords BUG=377410 R=vabr@chromium.org,dbeam@chromium.org TEST=In chrome://settings/passwords, revealed passwords should be editable. Committed: https://crrev.com/41c3d488906019eb4cec3b43ad39e67e9ee9b92c Cr-Commit-Position: refs/heads/master@{#295912}

Patch Set 1 #

Total comments: 4

Patch Set 2 : It supports overwriting and adding. Added the unit tests. #

Total comments: 10

Patch Set 3 : Added one more test. Modified the comments and the string. #

Total comments: 42

Patch Set 4 : comments addressed #

Total comments: 39

Patch Set 5 : comments addressed again #

Patch Set 6 : modified a bit #

Patch Set 7 : Exclude 2 tests on Android #

Total comments: 28

Patch Set 8 : comments from engedy #

Patch Set 9 : Fixed a typo #

Patch Set 10 : Removed a blank line #

Patch Set 11 : Rebased the branch #

Patch Set 12 : Fixed a type mismatch in password_manager.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+730 lines, -91 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/password_manager.js View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +61 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/password_manager_list.css View 1 2 3 4 3 chunks +19 lines, -8 lines 0 comments Download
M chrome/browser/resources/options/password_manager_list.js View 1 2 3 4 5 6 7 8 9 10 13 chunks +346 lines, -67 lines 0 comments Download
M chrome/browser/ui/passwords/password_manager_presenter.h View 1 2 3 4 5 6 7 3 chunks +20 lines, -4 lines 0 comments Download
M chrome/browser/ui/passwords/password_manager_presenter.cc View 1 2 3 4 2 chunks +71 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/password_manager_presenter_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +122 lines, -10 lines 0 comments Download
M chrome/browser/ui/webui/options/password_manager_handler.h View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/password_manager_handler.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +62 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (6 generated)
jaekyeom
PTAL. I didn’t add UMA “PasswordManager_UpdatePassword” since I guessed that I’m not allowed to do ...
6 years, 4 months ago (2014-08-21 07:49:04 UTC) #1
vabr (Chromium)
Hi jaekyeom, As noted on the bug (http://crbug.com/377410#c4), this work is likely duplicating the work ...
6 years, 4 months ago (2014-08-21 12:14:44 UTC) #2
engedy
On 2014/08/21 12:14:44, vabr (Chromium) wrote: > Hi jaekyeom, > > As noted on the ...
6 years, 4 months ago (2014-08-21 16:57:17 UTC) #3
jaekyeom
On 2014/08/21 16:57:17, engedy (OOO) wrote: > On 2014/08/21 12:14:44, vabr (Chromium) wrote: > > ...
6 years, 4 months ago (2014-08-22 05:02:24 UTC) #4
vabr (Chromium)
Hi jaekyeom, Your changes to chrome/browser/ui/passwords/password_manager_presenter.*, based on what engedy@ said, sound reasonable. However, please ...
6 years, 4 months ago (2014-08-22 10:11:44 UTC) #5
jaekyeom
Hi vabr and dbeam, Please take a look. It now supports overwriting hidden passwords and ...
6 years, 4 months ago (2014-08-25 05:15:51 UTC) #6
vabr (Chromium)
Hi jaekyeom, Your changes to chrome/browser/ui/passwords/password_manager_presenter.*, LGTM, with a couple of comments. Thanks for doing ...
6 years, 4 months ago (2014-08-25 07:35:07 UTC) #7
jaekyeom
Thank you for your review! dbeam@ Could you please give me a review for the ...
6 years, 3 months ago (2014-08-26 05:34:48 UTC) #8
vabr (Chromium)
Thanks for addressing the comments, chrome/browser/ui/passwords/password_manager_presenter.* in patch set 3 still LGTM. Cheers, Vaclav
6 years, 3 months ago (2014-08-26 07:08:42 UTC) #9
Dan Beam
https://codereview.chromium.org/489103004/diff/40001/chrome/browser/resources/options/password_manager.js File chrome/browser/resources/options/password_manager.js (right): https://codereview.chromium.org/489103004/diff/40001/chrome/browser/resources/options/password_manager.js#newcode218 chrome/browser/resources/options/password_manager.js:218: * @param {boolean} valid The validity of the origin ...
6 years, 3 months ago (2014-08-26 17:39:07 UTC) #10
jaekyeom
Thanks for the review. Please take another look. Thanks, Jaekyeom. https://codereview.chromium.org/489103004/diff/40001/chrome/browser/resources/options/password_manager.js File chrome/browser/resources/options/password_manager.js (right): https://codereview.chromium.org/489103004/diff/40001/chrome/browser/resources/options/password_manager.js#newcode218 ...
6 years, 3 months ago (2014-08-27 12:28:54 UTC) #11
jaekyeom
Ping?? On 2014/08/27 12:28:54, jaekyeom wrote: > Thanks for the review. > Please take another ...
6 years, 3 months ago (2014-09-11 04:39:42 UTC) #12
Dan Beam
sorry for the lag https://codereview.chromium.org/489103004/diff/60001/chrome/browser/resources/options/password_manager.js File chrome/browser/resources/options/password_manager.js (right): https://codereview.chromium.org/489103004/diff/60001/chrome/browser/resources/options/password_manager.js#newcode233 chrome/browser/resources/options/password_manager.js:233: var model = this.savedPasswordsList_.dataModel; assert(model.length ...
6 years, 3 months ago (2014-09-11 05:17:58 UTC) #13
jaekyeom
Thank you, PTAL. And please read my replies to some of your comments. Thanks, Jaekyeom. ...
6 years, 3 months ago (2014-09-12 10:35:58 UTC) #14
Dan Beam
lgtm https://codereview.chromium.org/489103004/diff/60001/chrome/browser/resources/options/password_manager_list.js File chrome/browser/resources/options/password_manager_list.js (right): https://codereview.chromium.org/489103004/diff/60001/chrome/browser/resources/options/password_manager_list.js#newcode565 chrome/browser/resources/options/password_manager_list.js:565: if (!entry) On 2014/09/12 10:35:57, jaekyeom wrote: > ...
6 years, 3 months ago (2014-09-12 23:32:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/489103004/100001
6 years, 3 months ago (2014-09-15 00:27:27 UTC) #17
jaekyeom
Thank you for the approval. By the way, I made a little change on password_manager_presenter_unittest.cc, ...
6 years, 3 months ago (2014-09-15 04:45:28 UTC) #19
engedy
Back from OOO. I have added a few minor comments, but all-an-all, very nice work, ...
6 years, 3 months ago (2014-09-15 14:38:59 UTC) #20
jaekyeom
Thanks, engedy. I've addressed your comments. PTAL. Thanks, Jaekyeom. https://codereview.chromium.org/489103004/diff/120001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/489103004/diff/120001/chrome/app/generated_resources.grd#newcode7321 chrome/app/generated_resources.grd:7321: ...
6 years, 3 months ago (2014-09-16 07:58:10 UTC) #21
engedy
LGTM, thank you! I have no more concerns. (I will want to play around with ...
6 years, 3 months ago (2014-09-18 16:15:08 UTC) #22
vabr (Chromium)
Further changes to chrome/browser/ui/passwords/password_manager_presenter.* look even better than before, so LGTM, thanks! Vaclav
6 years, 3 months ago (2014-09-19 07:46:01 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/489103004/180001
6 years, 3 months ago (2014-09-19 07:53:09 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/58134) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/16611) mac_chromium_rel_swarming ...
6 years, 3 months ago (2014-09-19 07:56:12 UTC) #28
jaekyeom
Thank you, reviewers! I will rebase my branch because of the patch failure.
6 years, 3 months ago (2014-09-19 08:18:15 UTC) #29
jaekyeom
I've rebased the branch (patch set 11). And I had found a mistake, a type ...
6 years, 3 months ago (2014-09-20 02:00:15 UTC) #30
jaekyeom
On 2014/09/20 02:00:15, jaekyeom wrote: > I've rebased the branch (patch set 11). > And ...
6 years, 3 months ago (2014-09-20 02:13:41 UTC) #31
engedy
On 2014/09/20 02:13:41, jaekyeom wrote: > On 2014/09/20 02:00:15, jaekyeom wrote: > > I've rebased ...
6 years, 3 months ago (2014-09-20 07:17:31 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/489103004/220001
6 years, 3 months ago (2014-09-22 00:13:38 UTC) #34
commit-bot: I haz the power
Committed patchset #12 (id:220001) as 7fb909e7e6034de942c4f52e98b5c872fd9a6d4a
6 years, 3 months ago (2014-09-22 03:46:01 UTC) #35
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/41c3d488906019eb4cec3b43ad39e67e9ee9b92c Cr-Commit-Position: refs/heads/master@{#295912}
6 years, 3 months ago (2014-09-22 03:46:34 UTC) #36
georgeramirez1983_gmail.com
4 years, 3 months ago (2016-09-20 00:15:51 UTC) #37
Message was sent while issue was closed.
what do i do if my ex used this to hack into my saved passwords and took 
log files from my computer

 

> #manage-profile-overlay {
> width: 616px;
> }
>
> .profile-icon-grid-item {
> height: 31px;
> margin: 2px 4px;
> padding: 4px;
> width: 38px;
> }
>
> .profile-icon {
> height: 31px;
> width: 38px;
> }
>
> #create-profile-name-input-container,
> #manage-profile-name-input-container {
> margin-top: 5px;
> }
>
> #create-profile-name-input-container {
> margin-bottom: 5px;
> }
>
> #create-profile-name,
> #manage-profile-name {
> margin-left: 10px;
> }
>
> #create-profile-name:invalid,
> #manage-profile-name:invalid {
> background-color: pink;
> }
>
> #disconnect-managed-profile-domain-name {
> font-weight: bold;
> }
>
> #disconnect-managed-profile-domain-information {
> background-color: #f0f0f0;
> padding: 14px 0 14px 17px;
> }
>
> #disconnect-managed-profile-message {
> padding-top: 9px;
> }
>
> #create-profile-error-bubble,
> #manage-profile-error-bubble {
> -webkit-transition: max-height 200ms, padding 200ms;
> background-color: rgb(238, 185, 57);
> border-radius: 4px;
> font-weight: bold;
> margin-left: auto;
> margin-right: auto;
> max-height: 50px;
> overflow: hidden;
> padding: 10px 10px;
> text-align: center;
> width: 80%;
> }
>
> html[dir='ltr'] #create-profile-error-bubble {
> margin-left: 20px;
> width: 90%;
> }
>
> html[dir='rtl'] #create-profile-error-bubble {
> margin-right: 20px;
> width: 90%;
> }
>
> #create-profile-error-bubble[hidden],
> #manage-profile-error-bubble[hidden] {
> display: block !important;
> max-height: 0;
> padding: 0 10px;
> }
>
> #create-profile-icon-grid,
> #manage-profile-icon-grid {
> background-color: rgba(255, 255, 255, 0.75);
> padding: 2px;
> }
>
> :-webkit-any(#create-profile-content, #manage-profile-content) >
> :not(:last-child) {
> margin-bottom: 10px;
> }
>
> :-webkit-any(#create-profile-content, #manage-profile-content) >
> :not(:first-child) {
> margin-top: 10px;
> }
>
> :-webkit-any(#create-profile-content, #manage-profile-content) >
> .name-input-container {
> margin-top: 5px;
> }
>
> :-webkit-any(#create-profile-content, #manage-profile-content) >
> .name-label-container {
> margin-bottom: 5px;
> }
>
> #create-profile-content {
> padding-bottom: 0;
> }
>
> .action-area-shortcut-container {
> -webkit-box-flex: 1;
> }
>
> /* Proper spacing for the buttons. */
> #remove-shortcut-button,
> #add-shortcut-button {
> -webkit-margin-end: 10px;
> }
>
> #delete-supervised-profile-addendum {
> -webkit-padding-start: 48px;
> margin-top: 10px;
> }
>
> html[dir='ltr'] #delete-profile-icon {
> float: left;
> margin-right: 10px;
> }
>
> html[dir='rtl'] #delete-profile-icon {
> float: right;
> margin-left: 10px;
> }
>
> #create-profile-supervised-not-signed-in {
> color: #999;
> }
>
> #create-profile-supervised-not-signed-in-label,
> #create-profile-supervised-account-details-out-of-date-label {
> white-space: pre-wrap;
> word-wrap: break-word;
> }
>
> #create-profile-supervised-content-area {
> padding-top: 5px;
> }
>
> #import-existing-supervised-user-link {
> bottom: 25px;
> left: 17px;
> position: absolute;
> }
>
> #supervised-user-import-existing {
> margin: 0;
> padding: 0;
> }
> </style>
> <style>/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
> * Use of this source code is governed by a BSD-style license that can be
> * found in the LICENSE file.
> */
>
> #password-manager > div.content-area {
> width: 600px;
> }
>
> #password-search-column {
> bottom: 10px;
> position: absolute;
> right: 0;
> }
>
> html[dir=rtl] #password-search-column {
> left: 0;
> right: auto;
> }
>
> #password-list-headers {
> position: relative;
> width: 100%;
> }
>
> #passwords-title {
> display: inline-block;
> }</style>
> <style>/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
> * Use of this source code is governed by a BSD-style license that can be
> * found in the LICENSE file. */
>
> #saved-passwords-list .list-inline-button {
> -webkit-transition: opacity 150ms;
> background: rgb(138, 170, 237);
> font-size: 0.9em;
> height: 18px;
> margin-left: 2px;
> margin-right: 2px;
> padding: 0 2px;
> position: absolute;
> top: 3px;
> }
>
> html[dir='ltr'] #saved-passwords-list .list-inline-button {
> right: 2px;
> }
>
> html[dir='rtl'] #saved-passwords-list .list-inline-button {
> left: 2px;
> }
>
> input.inactive-item {
> background: transparent;
> border: none;
> }
>
> #saved-passwords-list .url {
> box-sizing: border-box;
> width: 40%;
> }
>
> #saved-passwords-list .deletable-item:not(:hover) a:not(:focus) {
> color: black;
> text-decoration: none;
> }
>
> #saved-passwords-list .name {
> -webkit-box-flex: 1;
> width: 30%;
> }
>
> #saved-passwords-list .url,
> #saved-passwords-list .name {
> -webkit-user-select: text;
> }
>
> #saved-passwords-list .password,
> #saved-passwords-list .federation {
> -webkit-box-flex: 1;
> position: relative;
> width: 30%;
> }
>
> #saved-passwords-list .password input[type='password'],
> #saved-passwords-list .password input[type='text'] {
> box-sizing: border-box;
> width: 100%;
> }
>
> #password-exceptions-list .url {
> -webkit-box-flex: 1;
> }
>
> #saved-passwords-list .url,
> #saved-passwords-list .name,
> #saved-passwords-list .federation,
> #password-exceptions-list .url {
> overflow: hidden;
> text-overflow: ellipsis;
> }

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698