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

Issue 241033002: Fix for scoring password autofill candidates: (Closed)

Created:
6 years, 8 months ago by Lukasz Jagielski
Modified:
6 years, 7 months ago
Reviewers:
Garrett Casto
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix for scoring password autofill candidates: components/password_manager/core/browser/password_form_manager.cc: PasswordFormManager::ScoreResult() - added signon realm matching. This fixes a following situation: we have passwords saved in login db for 2 websites: "https://service1.somedomain.com/path1" and "https://service2.somedomain.com/path2", using the same username "someusername". We display login form on "https://service1.somedomain.com/path3" and we receive password autofill suggestion for "https://service2.somedomain.com/path2". BUG=363090 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267659

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixups #

Total comments: 1

Patch Set 3 : Added test #

Total comments: 2

Patch Set 4 : Fixup #

Total comments: 1

Patch Set 5 : Indexing fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -7 lines) Patch
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 2 chunks +8 lines, -7 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Lukasz Jagielski
6 years, 8 months ago (2014-04-17 14:13:27 UTC) #1
Garrett Casto
Nice catch. Could you add a test for this in PasswordFormManagerTest? The case that you ...
6 years, 8 months ago (2014-04-17 18:43:54 UTC) #2
Garrett Casto
Sorry, few more things. I also saw a bug report for this today. Can you ...
6 years, 8 months ago (2014-04-17 21:12:39 UTC) #3
Lukasz Jagielski
Fixups
6 years, 8 months ago (2014-04-18 07:56:17 UTC) #4
Garrett Casto
Not sure if you saw the request for a test. Code itself looks fine. https://codereview.chromium.org/241033002/diff/20001/components/password_manager/core/browser/password_form_manager.cc ...
6 years, 8 months ago (2014-04-18 17:49:47 UTC) #5
Lukasz Jagielski
Yeah, I saw it but I didn't have enough time to write it. I'll try ...
6 years, 8 months ago (2014-04-22 07:41:33 UTC) #6
Lukasz Jagielski
Test added.
6 years, 8 months ago (2014-04-24 09:21:04 UTC) #7
Garrett Casto
https://codereview.chromium.org/241033002/diff/40001/components/password_manager/core/browser/password_form_manager.cc File components/password_manager/core/browser/password_form_manager.cc (right): https://codereview.chromium.org/241033002/diff/40001/components/password_manager/core/browser/password_form_manager.cc#newcode650 components/password_manager/core/browser/password_form_manager.cc:650: } else if (candidate.origin == observed_form_.origin) { Sorry about ...
6 years, 8 months ago (2014-04-24 22:35:28 UTC) #8
Lukasz Jagielski
6 years, 8 months ago (2014-04-25 15:37:24 UTC) #9
Garrett Casto
LGTM with nits https://codereview.chromium.org/241033002/diff/60001/components/password_manager/core/browser/password_form_manager_unittest.cc File components/password_manager/core/browser/password_form_manager_unittest.cc (right): https://codereview.chromium.org/241033002/diff/60001/components/password_manager/core/browser/password_form_manager_unittest.cc#newcode725 components/password_manager/core/browser/password_form_manager_unittest.cc:725: results[0]->origin = GURL("http://accounts.google.com/a/ServiceLoginAuth2"); The order of ...
6 years, 8 months ago (2014-04-25 23:36:05 UTC) #10
Lukasz Jagielski
Sorry for the delay, I was looking at the test's code and couldn't find the ...
6 years, 7 months ago (2014-04-29 12:15:44 UTC) #11
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 7 months ago (2014-04-30 18:09:06 UTC) #12
Garrett Casto
The CQ bit was unchecked by gcasto@chromium.org
6 years, 7 months ago (2014-04-30 18:09:07 UTC) #13
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 7 months ago (2014-04-30 18:09:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ljagielski@opera.com/241033002/80001
6 years, 7 months ago (2014-04-30 18:11:06 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 18:15:24 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
6 years, 7 months ago (2014-04-30 18:15:24 UTC) #17
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 7 months ago (2014-05-01 20:48:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ljagielski@opera.com/241033002/80001
6 years, 7 months ago (2014-05-01 20:49:24 UTC) #19
commit-bot: I haz the power
Change committed as 267659
6 years, 7 months ago (2014-05-01 23:28:26 UTC) #20
tuxianster
6 years, 7 months ago (2014-05-05 13:49:34 UTC) #21
Message was sent while issue was closed.
On 2014/05/01 23:28:26, I haz the power (commit-bot) wrote:
> Change committed as 267659

We also have this problem since upgrading to version 34.0.1847.131 m on Windows
7 64bit.

Example: Password is stored for https://subdomain1.internex.at/ and is filled in
then for https://subdomain2.internex.at/

The subdomain1 can be a .htaccess "AuthType Basic" Authentication or a login
form but the webpage subdomain2 where the wrong passwords are filled in is
always a .htaccess "AuthType Basic" Authentication.

Powered by Google App Engine
This is Rietveld 408576698