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

Issue 2814093002: [Password Manager] Send a request to the password store if there is a password field on a page (Closed)

Created:
3 years, 8 months ago by kolos1
Modified:
3 years, 8 months ago
Reviewers:
vabr (Chromium), dvadym
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, jam, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, darin-cc_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Manager] Send a request to the password store if there is a password field on a page At this time, if our algorithms failed to create |PasswordForm|, we don't send a request to the store. It is why Chrome fails to fill credentials even if there are saved password. If saved creadentials have been requested from the store, it would be possible to fill passwords by click on a field. BUG=447017 Review-Url: https://codereview.chromium.org/2814093002 Cr-Commit-Position: refs/heads/master@{#464428} Committed: https://chromium.googlesource.com/chromium/src/+/982e14088763bcda41c1acf201ccd1b66e49dfe0

Patch Set 1 : #

Total comments: 14

Patch Set 2 : Changes addressed to reviewer's comments #

Total comments: 2

Patch Set 3 : Changes addressed to reviewers' comments #

Patch Set 4 : Reset |sent_request_to_store_| when the frame is closing #

Patch Set 5 : Added more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -23 lines) Patch
M chrome/renderer/autofill/fake_content_password_manager_driver.h View 3 chunks +16 lines, -1 line 0 comments Download
M chrome/renderer/autofill/fake_content_password_manager_driver.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 2 chunks +98 lines, -13 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 chunks +40 lines, -8 lines 0 comments Download

Messages

Total messages: 39 (20 generated)
kolos1
Hi Vadym, Please review this CL. Regards, Maxim
3 years, 8 months ago (2017-04-12 14:32:57 UTC) #2
kolos1
vabr@chromium.org: Please review changes in all files except password_autofill_agent.cc. Thanks. Regards, Maxi,
3 years, 8 months ago (2017-04-13 06:20:18 UTC) #10
vabr (Chromium)
Hi Maxim, The whole patch LGTM, with comments. Thanks! Vaclav https://codereview.chromium.org/2814093002/diff/40001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/2814093002/diff/40001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode866 ...
3 years, 8 months ago (2017-04-13 06:44:18 UTC) #11
kolos1
https://codereview.chromium.org/2814093002/diff/40001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/2814093002/diff/40001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode866 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:866: TEST_F(PasswordAutofillAgentTest, SendPasswordFormsTest) { On 2017/04/13 06:44:18, vabr (Chromium) wrote: ...
3 years, 8 months ago (2017-04-13 08:35:48 UTC) #12
kolos1
On 2017/04/13 08:35:48, kolos1 wrote: > https://codereview.chromium.org/2814093002/diff/40001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc > File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): > > https://codereview.chromium.org/2814093002/diff/40001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode866 > ...
3 years, 8 months ago (2017-04-13 08:36:13 UTC) #13
dvadym
Thanks for fixing this. In general looks good. Some comments below https://codereview.chromium.org/2814093002/diff/40001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): ...
3 years, 8 months ago (2017-04-13 09:22:53 UTC) #14
vabr (Chromium)
Still LGTM. https://codereview.chromium.org/2814093002/diff/40001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/2814093002/diff/40001/components/autofill/content/renderer/password_autofill_agent.cc#newcode607 components/autofill/content/renderer/password_autofill_agent.cc:607: for (blink::WebElement element = elements.FirstItem(); !element.IsNull(); On ...
3 years, 8 months ago (2017-04-13 10:12:58 UTC) #15
kolos1
https://codereview.chromium.org/2814093002/diff/40001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/2814093002/diff/40001/components/autofill/content/renderer/password_autofill_agent.cc#newcode607 components/autofill/content/renderer/password_autofill_agent.cc:607: for (blink::WebElement element = elements.FirstItem(); !element.IsNull(); it is not ...
3 years, 8 months ago (2017-04-13 13:26:07 UTC) #16
vabr (Chromium)
Hi Maxim, Please make sure that you also upload the new patch. :) On 2017/04/13 ...
3 years, 8 months ago (2017-04-13 13:30:49 UTC) #17
chromium-reviews
I did a couple of seconds ago :) On Thu, Apr 13, 2017 at 3:30 ...
3 years, 8 months ago (2017-04-13 13:31:34 UTC) #18
vabr (Chromium)
On 2017/04/13 13:30:49, vabr (Chromium) wrote: > Hi Maxim, > > Please make sure that ...
3 years, 8 months ago (2017-04-13 13:31:50 UTC) #19
dvadym
LGTM
3 years, 8 months ago (2017-04-13 13:34:41 UTC) #20
kolos1
Found a bug :) |sent_request_to_store_| should be resetted when the frame is closing. Otherwise, there ...
3 years, 8 months ago (2017-04-13 13:54:16 UTC) #21
kolos1
Hi Vaclav, Could you take a quick look at new tests? I would like to ...
3 years, 8 months ago (2017-04-13 15:01:26 UTC) #26
vabr (Chromium)
LGTM, thanks for finding & fixing the bug and adding tests for that! Vaclav
3 years, 8 months ago (2017-04-13 15:45:29 UTC) #29
kolos1
Thanks Vaclav for fast response.
3 years, 8 months ago (2017-04-13 15:57:37 UTC) #32
kolos1
Thanks Vaclav for fast response.
3 years, 8 months ago (2017-04-13 15:57:38 UTC) #33
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/2814093002/120001
3 years, 8 months ago (2017-04-13 15:58:07 UTC) #36
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 16:10:27 UTC) #39
Message was sent while issue was closed.
Committed patchset #5 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/982e14088763bcda41c1acf201cc...

Powered by Google App Engine
This is Rietveld 408576698