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

Issue 1536653002: Fix saving password in Password Manager on nytimes.com. (Closed)

Created:
5 years ago by dvadym
Modified:
5 years ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, jam, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, vabr+watchlistautofill_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix saving password in Password Manager on nytimes.com. In refactoring on https://codereview.chromium.org/1381003004 it was implemented that PasswordAutofiilAgent considers that target frame is loaded only if all its subframes are loaded. But this could never happen, e.g. on nytimes.com there are a lot of frames and we never see that all of them are loaded. This patch is returning to our previous logic, namely to check that only target frame is loaded, but not to check its subframes. BUG=569577 Committed: https://crrev.com/3d0810ccce9f38b9f2acb0441743f44b67af28a9 Cr-Commit-Position: refs/heads/master@{#365827}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Small renaming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -9 lines) Patch
M components/autofill/content/renderer/password_autofill_agent.cc View 1 1 chunk +3 lines, -9 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
dvadym
Hi Vaclav, Could you please have a look at this CL? Regards, Vadym
5 years ago (2015-12-17 13:28:20 UTC) #4
vabr (Chromium)
This LGTM, but we should definitely add tests both to document this behaviour, and to ...
5 years ago (2015-12-17 13:51:48 UTC) #5
dvadym
Thanks for comments Vaclav! We definitely should make sure that nobody in future will not ...
5 years ago (2015-12-17 14:00:27 UTC) #6
dvadym
Thanks Vaclav for review! https://codereview.chromium.org/1536653002/diff/1/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/1536653002/diff/1/components/autofill/content/renderer/password_autofill_agent.cc#newcode1056 components/autofill/content/renderer/password_autofill_agent.cc:1056: blink::WebFrame* frame = render_frame()->GetWebFrame()->top(); On ...
5 years ago (2015-12-17 14:17:40 UTC) #7
dvadym
After an offline discussion we realized that it's almost impossible to test this change.
5 years ago (2015-12-17 14:18:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1536653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1536653002/20001
5 years ago (2015-12-17 14:22:21 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-17 15:33:23 UTC) #14
commit-bot: I haz the power
5 years ago (2015-12-17 15:34:18 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3d0810ccce9f38b9f2acb0441743f44b67af28a9
Cr-Commit-Position: refs/heads/master@{#365827}

Powered by Google App Engine
This is Rietveld 408576698