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

Issue 2900983002: Ignore form action URL when determine if a credential should be autofilled. (Closed)

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

Description

Ignore form action URL when determine if a credential should be autofilled. The Credential Manager API saves passwords without action like Android does. The former credentials should be treated as the latter ones. As a side effect the CL fixes an apparently buggy condition for the change password forms coming from r335019. Before: Android credentials were autofilled into the change password forms. Now: the are offered in the drop-down like normal web credentials. BUG=725495 Review-Url: https://codereview.chromium.org/2900983002 Cr-Commit-Position: refs/heads/master@{#474284} Committed: https://chromium.googlesource.com/chromium/src/+/40f676517d2d8b840c41eb67a7f874a154e7f54a

Patch Set 1 #

Total comments: 4

Patch Set 2 : comments and tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -21 lines) Patch
M chrome/browser/password_manager/credential_manager_browsertest.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 4 chunks +15 lines, -8 lines 2 comments Download
M chrome/browser/password_manager/password_manager_test_base.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_manager_test_base.cc View 3 chunks +23 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 1 chunk +6 lines, -13 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
vasilii
Hi Vadym, please review. The strange condition about change password forms is originally from https://codereview.chromium.org/1161023008
3 years, 7 months ago (2017-05-23 14:29:17 UTC) #4
dvadym
https://codereview.chromium.org/2900983002/diff/1/chrome/browser/password_manager/password_manager_test_base.cc File chrome/browser/password_manager/password_manager_test_base.cc (right): https://codereview.chromium.org/2900983002/diff/1/chrome/browser/password_manager/password_manager_test_base.cc#newcode68 chrome/browser/password_manager/password_manager_test_base.cc:68: void OnPasswordSubmitted( Why do we need this, it looks ...
3 years, 7 months ago (2017-05-23 14:59:52 UTC) #5
vasilii
https://codereview.chromium.org/2900983002/diff/1/chrome/browser/password_manager/password_manager_test_base.cc File chrome/browser/password_manager/password_manager_test_base.cc (right): https://codereview.chromium.org/2900983002/diff/1/chrome/browser/password_manager/password_manager_test_base.cc#newcode68 chrome/browser/password_manager/password_manager_test_base.cc:68: void OnPasswordSubmitted( On 2017/05/23 14:59:52, dvadym wrote: > Why ...
3 years, 7 months ago (2017-05-24 12:48:37 UTC) #9
dvadym
LGTM https://codereview.chromium.org/2900983002/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/2900983002/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode2380 chrome/browser/password_manager/password_manager_browsertest.cc:2380: scoped_feature_list.InitAndEnableFeature(features::kFillOnAccountSelect); Cool solution for preventing filling.
3 years, 7 months ago (2017-05-24 13:19:59 UTC) #11
vasilii
https://codereview.chromium.org/2900983002/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/2900983002/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode2380 chrome/browser/password_manager/password_manager_browsertest.cc:2380: scoped_feature_list.InitAndEnableFeature(features::kFillOnAccountSelect); On 2017/05/24 13:19:59, dvadym wrote: > Cool solution ...
3 years, 7 months ago (2017-05-24 14:31:50 UTC) #14
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/2900983002/20001
3 years, 7 months ago (2017-05-24 14:32:21 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 14:37:38 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/40f676517d2d8b840c41eb67a7f8...

Powered by Google App Engine
This is Rietveld 408576698