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

Issue 242613006: [Autofill] Enable Autofill for dynamically created forms. (Closed)

Created:
6 years, 8 months ago by Garrett Casto
Modified:
6 years, 7 months ago
Reviewers:
Tom Sepez, Ilya Sherman
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

[Autofill] Enable Autofill for dynamically created forms. The appropriate hooks with Blink already exist, this change just causes the browser to be informed whenever a form is added or changed. BUG=360904 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268107

Patch Set 1 #

Patch Set 2 : #

Total comments: 16

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : Tests and comments #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : Test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -185 lines) Patch
M chrome/browser/autofill/autofill_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M chrome/renderer/autofill/autofill_renderer_browsertest.cc View 2 chunks +51 lines, -1 line 0 comments Download
M chrome/renderer/autofill/form_autofill_browsertest.cc View 1 2 21 chunks +123 lines, -28 lines 0 comments Download
M components/autofill/content/common/autofill_messages.h View 3 chunks +2 lines, -6 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.h View 1 2 3 chunks +7 lines, -3 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 1 2 3 4 chunks +26 lines, -26 lines 0 comments Download
M components/autofill/content/renderer/form_cache.h View 1 2 2 chunks +7 lines, -14 lines 0 comments Download
M components/autofill/content/renderer/form_cache.cc View 1 6 chunks +9 lines, -25 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.h View 1 2 3 3 chunks +3 lines, -5 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 4 chunks +7 lines, -10 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 4 2 chunks +1 line, -13 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 3 4 5 6 15 chunks +71 lines, -29 lines 0 comments Download
M components/autofill/core/common/form_data.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/common/form_data.cc View 1 chunk +14 lines, -0 lines 0 comments Download
D components/autofill/core/common/forms_seen_state.h View 1 chunk +0 lines, -24 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Garrett Casto
tsepez: IPC change isherman: Everything else. I noticed that there was some dead code related ...
6 years, 8 months ago (2014-04-19 00:03:52 UTC) #1
Tom Sepez
Messages LGTM.
6 years, 8 months ago (2014-04-21 18:40:01 UTC) #2
Ilya Sherman
Thanks, Garrett! https://codereview.chromium.org/242613006/diff/20001/chrome/renderer/autofill/form_autofill_browsertest.cc File chrome/renderer/autofill/form_autofill_browsertest.cc (right): https://codereview.chromium.org/242613006/diff/20001/chrome/renderer/autofill/form_autofill_browsertest.cc#newcode882 chrome/renderer/autofill/form_autofill_browsertest.cc:882: "var newInput=document.createElement('input');" nit: Please add spaces around ...
6 years, 8 months ago (2014-04-23 05:51:36 UTC) #3
Garrett Casto
One other thing to note, given the current setup this will affect the timing stats ...
6 years, 8 months ago (2014-04-23 21:51:14 UTC) #4
Ilya Sherman
On 2014/04/23 21:51:14, Garrett Casto wrote: > One other thing to note, given the current ...
6 years, 8 months ago (2014-04-24 01:50:18 UTC) #5
Garrett Casto
Changed timestamps in the autofill_manager to be kept per form. This will change the metrics ...
6 years, 8 months ago (2014-04-24 18:35:45 UTC) #6
Ilya Sherman
Thanks! Could you please also add test coverage to [ https://code.google.com/p/chromium/codesearch#chromium/src/components/autofill/core/browser/autofill_metrics_unittest.cc& ] for metrics recorded ...
6 years, 8 months ago (2014-04-25 00:43:01 UTC) #7
Garrett Casto
Tests added, PTAL. https://codereview.chromium.org/242613006/diff/60001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/242613006/diff/60001/components/autofill/core/browser/autofill_manager.cc#newcode332 components/autofill/core/browser/autofill_manager.cc:332: forms_loaded_timestamps_[forms[i]] = timestamp; On 2014/04/25 00:43:02, ...
6 years, 7 months ago (2014-04-29 22:57:43 UTC) #8
Ilya Sherman
LGTM. Thanks, Garrett! https://codereview.chromium.org/242613006/diff/100001/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/242613006/diff/100001/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode1051 components/autofill/core/browser/autofill_metrics_unittest.cc:1051: // Make sure that loading another ...
6 years, 7 months ago (2014-05-01 01:08:23 UTC) #9
Garrett Casto
https://codereview.chromium.org/242613006/diff/100001/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/242613006/diff/100001/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode1051 components/autofill/core/browser/autofill_metrics_unittest.cc:1051: // Make sure that loading another form doesn't effect ...
6 years, 7 months ago (2014-05-01 20:28:29 UTC) #10
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 7 months ago (2014-05-01 20:28:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/242613006/120001
6 years, 7 months ago (2014-05-01 20:29:32 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-01 21:28:51 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-05-01 21:28:51 UTC) #14
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 7 months ago (2014-05-02 07:23:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/242613006/140001
6 years, 7 months ago (2014-05-02 07:24:05 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-02 07:45:54 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-05-02 07:45:55 UTC) #18
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 7 months ago (2014-05-03 00:29:50 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/242613006/140001
6 years, 7 months ago (2014-05-03 00:30:25 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-03 00:58:38 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-05-03 00:58:39 UTC) #22
Garrett Casto
The CQ bit was checked by gcasto@chromium.org
6 years, 7 months ago (2014-05-04 06:59:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gcasto@chromium.org/242613006/140001
6 years, 7 months ago (2014-05-04 06:59:54 UTC) #24
commit-bot: I haz the power
Change committed as 268107
6 years, 7 months ago (2014-05-04 16:31:31 UTC) #25
DaleCurtis
6 years, 7 months ago (2014-05-04 18:32:57 UTC) #26
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/265203002/ by dalecurtis@chromium.org.

The reason for reverting is: Broke DataDrivenHeuristics03 on the Mac debug bots:

http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac%2010.6%20Tes...
http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac%2010.7%20Tes....

Powered by Google App Engine
This is Rietveld 408576698