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

Issue 3419011: Save passwords for HTTP+FTP authentication.... (Closed)

Created:
10 years, 3 months ago by cbentzel
Modified:
9 years, 7 months ago
Reviewers:
Mike Mammarella, tonyg
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Save passwords for HTTP+FTP authentication. Rather than modifying the PasswordForm to have a username_element and password_element, change the logic in PasswordFormManager::HasValidPasswordForm to only care about empty username_element and password_element for HTML-form based PasswordForms. BUG=5236, 49894 TEST=unit_tests --gtest_filter="*TestValidForms*". Manual: Start Chrome with fresh profile, go to a Digest authenticating proxy or server and enter a username+password. After page loads successfully, click "save password" in the infobar. Restart chrome with the same profile, and make sure username+password dialog prompt is filled in. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60171

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -16 lines) Patch
M chrome/browser/login_prompt.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/password_manager/password_form_manager.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_form_manager_unittest.cc View 2 chunks +44 lines, -11 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
cbentzel
My previous change worked correctly, but this was a suggested improvement which does not change ...
10 years, 3 months ago (2010-09-21 19:01:23 UTC) #1
Mike Mammarella
On 2010/09/21 19:01:23, cbentzel wrote: > My previous change worked correctly, but this was a ...
10 years, 3 months ago (2010-09-21 20:06:00 UTC) #2
cbentzel
I will merge with beta, not sure about stable. On Tue, Sep 21, 2010 at ...
10 years, 3 months ago (2010-09-21 20:45:37 UTC) #3
cbentzel
I added a unittest in the most recent patchset as well (strictly for HasValidPasswordForm, I ...
10 years, 3 months ago (2010-09-21 20:49:09 UTC) #4
Mike Mammarella
10 years, 3 months ago (2010-09-21 20:57:33 UTC) #5
On 2010/09/21 20:49:09, cbentzel wrote:
> I added a unittest in the most recent patchset as well (strictly for
> HasValidPasswordForm, I hope to add ui_tests for saved passwords in the next
few
> weeks).

Yay moar tests!

Powered by Google App Engine
This is Rietveld 408576698