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

Issue 2849653003: Password manager should autofill a dynamic form added and processed before the page was loaded. (Closed)

Created:
3 years, 7 months ago by vasilii
Modified:
3 years, 7 months ago
Reviewers:
vabr (Chromium)
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 should autofill a dynamic form added and processed before the page was loaded. Currently AutofillAgent::DidAssociateFormControlsDynamically ignores the notification if the frame isn't loaded. That makes no sense because the page may never be loaded due to some slow resource. Even if it will, password autofill shouldn't wait for the page load event. It's needed primarily for the successful submission detection. BUG=713645 Review-Url: https://codereview.chromium.org/2849653003 Cr-Commit-Position: refs/heads/master@{#468136} Committed: https://chromium.googlesource.com/chromium/src/+/31ba8c6c5838fd6e65f3e341cfb5af0736186dc3

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -10 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/test/data/password/infinite_password_form.html View 1 chunk +26 lines, -0 lines 2 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 1 chunk +6 lines, -10 lines 2 comments Download

Messages

Total messages: 13 (8 generated)
vasilii
Hi Vaclav, please review.
3 years, 7 months ago (2017-04-28 13:41:30 UTC) #4
vabr (Chromium)
LGTM, thanks for the investigation and fix! Vaclav https://codereview.chromium.org/2849653003/diff/1/chrome/test/data/password/infinite_password_form.html File chrome/test/data/password/infinite_password_form.html (right): https://codereview.chromium.org/2849653003/diff/1/chrome/test/data/password/infinite_password_form.html#newcode24 chrome/test/data/password/infinite_password_form.html:24: <img ...
3 years, 7 months ago (2017-04-28 19:17:34 UTC) #7
vasilii
https://codereview.chromium.org/2849653003/diff/1/chrome/test/data/password/infinite_password_form.html File chrome/test/data/password/infinite_password_form.html (right): https://codereview.chromium.org/2849653003/diff/1/chrome/test/data/password/infinite_password_form.html#newcode24 chrome/test/data/password/infinite_password_form.html:24: <img src="/slow?100"> On 2017/04/28 19:17:33, vabr (Chromium) wrote: > ...
3 years, 7 months ago (2017-04-28 21:26:23 UTC) #8
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/2849653003/1
3 years, 7 months ago (2017-04-28 21:27:17 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 21:35:27 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/31ba8c6c5838fd6e65f3e341cfb5...

Powered by Google App Engine
This is Rietveld 408576698