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

Issue 13264002: Requery the autofill server when forms and input fields are dynamically added. (Closed)

Created:
7 years, 8 months ago by Dane Wallinga
Modified:
7 years, 7 months ago
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, dyu1, Albert Bodenhamer, estade+watch_chromium.org, Ilya Sherman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Requery the autofill server when forms and input fields are dynamically added. BUG=224802 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197479

Patch Set 1 #

Total comments: 30

Patch Set 2 : some style fixes, pulled apart tests. #

Patch Set 3 : and again, except this time remembering to hit save first. #

Total comments: 4

Patch Set 4 : replace bools in formsSeen message with enum, other style fixes #

Patch Set 5 : minor style fix #

Total comments: 21

Patch Set 6 : fix operand ordering on ternary operators #

Total comments: 1

Patch Set 7 : refactors, style fixes, comments, etc #

Patch Set 8 : and an indent fix #

Total comments: 7

Patch Set 9 : more fixes. you get the drill. #

Total comments: 24

Patch Set 10 : rename some things, move around others #

Total comments: 4

Patch Set 11 : rename FormsSeenParam, member variables #

Patch Set 12 : Some bug fixes to make sure things happen in the right order, and when we want them to. #

Patch Set 13 : And a bit of cleanup #

Total comments: 10

Patch Set 14 : address comments #

Patch Set 15 : Do away with PARTIAL_AND_DYNAMIC_FORMS_SEEN #

Patch Set 16 : Fun with merging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -21 lines) Patch
M chrome/renderer/autofill/autofill_renderer_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +55 lines, -0 lines 0 comments Download
M components/autofill/browser/autofill_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -1 line 0 comments Download
M components/autofill/browser/autofill_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +14 lines, -3 lines 0 comments Download
M components/autofill/browser/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +46 lines, -2 lines 0 comments Download
M components/autofill/browser/autofill_metrics_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 13 chunks +25 lines, -12 lines 0 comments Download
M components/autofill/common/autofill_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -1 line 0 comments Download
A components/autofill/common/forms_seen_state.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +22 lines, -0 lines 0 comments Download
M components/autofill/renderer/autofill_agent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +13 lines, -0 lines 0 comments Download
M components/autofill/renderer/autofill_agent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +45 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
ahutter
https://chromiumcodereview.appspot.com/13264002/diff/1/chrome/renderer/autofill/autofill_renderer_browsertest.cc File chrome/renderer/autofill/autofill_renderer_browsertest.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/1/chrome/renderer/autofill/autofill_renderer_browsertest.cc#newcode127 chrome/renderer/autofill/autofill_renderer_browsertest.cc:127: autofill_agent_->OnWhitelistedForAutocheckout(); Might want to make this a new TEST_F ...
7 years, 8 months ago (2013-03-29 19:48:30 UTC) #1
Dane Wallinga
https://chromiumcodereview.appspot.com/13264002/diff/1/chrome/renderer/autofill/autofill_renderer_browsertest.cc File chrome/renderer/autofill/autofill_renderer_browsertest.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/1/chrome/renderer/autofill/autofill_renderer_browsertest.cc#newcode127 chrome/renderer/autofill/autofill_renderer_browsertest.cc:127: autofill_agent_->OnWhitelistedForAutocheckout(); On 2013/03/29 19:48:31, ahutter wrote: > Might want ...
7 years, 8 months ago (2013-03-29 21:41:12 UTC) #2
ahutter
https://chromiumcodereview.appspot.com/13264002/diff/1/components/autofill/browser/autofill_metrics_unittest.cc File components/autofill/browser/autofill_metrics_unittest.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/1/components/autofill/browser/autofill_metrics_unittest.cc#newcode790 components/autofill/browser/autofill_metrics_unittest.cc:790: autofill_manager_->OnFormsSeen(forms, TimeTicks(), false, false); On 2013/03/29 21:41:12, dgwallinga wrote: ...
7 years, 8 months ago (2013-03-29 21:53:07 UTC) #3
Dane Wallinga
https://chromiumcodereview.appspot.com/13264002/diff/1/components/autofill/browser/autofill_metrics_unittest.cc File components/autofill/browser/autofill_metrics_unittest.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/1/components/autofill/browser/autofill_metrics_unittest.cc#newcode790 components/autofill/browser/autofill_metrics_unittest.cc:790: autofill_manager_->OnFormsSeen(forms, TimeTicks(), false, false); On 2013/03/29 21:53:08, ahutter wrote: ...
7 years, 8 months ago (2013-04-02 19:50:53 UTC) #4
ahutter
https://chromiumcodereview.appspot.com/13264002/diff/17001/components/autofill/common/autofill_messages.h File components/autofill/common/autofill_messages.h (right): https://chromiumcodereview.appspot.com/13264002/diff/17001/components/autofill/common/autofill_messages.h#newcode183 components/autofill/common/autofill_messages.h:183: autofill::FormsSeenParam /* partial or dynamic forms */) I think ...
7 years, 8 months ago (2013-04-02 20:11:47 UTC) #5
ahutter
https://chromiumcodereview.appspot.com/13264002/diff/17001/components/autofill/common/forms_seen_param.h File components/autofill/common/forms_seen_param.h (right): https://chromiumcodereview.appspot.com/13264002/diff/17001/components/autofill/common/forms_seen_param.h#newcode1 components/autofill/common/forms_seen_param.h:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
7 years, 8 months ago (2013-04-02 20:27:33 UTC) #6
Raman Kakilate
https://chromiumcodereview.appspot.com/13264002/diff/17001/components/autofill/browser/autofill_manager.cc File components/autofill/browser/autofill_manager.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/17001/components/autofill/browser/autofill_manager.cc#newcode454 components/autofill/browser/autofill_manager.cc:454: // if new forms were added via AJAX or ...
7 years, 8 months ago (2013-04-02 20:30:19 UTC) #7
Dane Wallinga
https://chromiumcodereview.appspot.com/13264002/diff/17001/components/autofill/browser/autofill_manager.cc File components/autofill/browser/autofill_manager.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/17001/components/autofill/browser/autofill_manager.cc#newcode454 components/autofill/browser/autofill_manager.cc:454: // if new forms were added via AJAX or ...
7 years, 8 months ago (2013-04-02 21:29:30 UTC) #8
ahutter
A few nits but otherwise LGTM https://chromiumcodereview.appspot.com/13264002/diff/31001/components/autofill/renderer/autofill_agent.cc File components/autofill/renderer/autofill_agent.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/31001/components/autofill/renderer/autofill_agent.cc#newcode781 components/autofill/renderer/autofill_agent.cc:781: if (forms_have_changed_since_load_) { ...
7 years, 8 months ago (2013-04-02 21:34:53 UTC) #9
Raman Kakilate
https://chromiumcodereview.appspot.com/13264002/diff/31001/components/autofill/renderer/autofill_agent.cc File components/autofill/renderer/autofill_agent.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/31001/components/autofill/renderer/autofill_agent.cc#newcode957 components/autofill/renderer/autofill_agent.cc:957: void AutofillAgent::SendDynamicFormsSeen(base::TimeTicks forms_seen_timestamp) { forms_seen_timestamp is always a member ...
7 years, 8 months ago (2013-04-02 21:39:46 UTC) #10
Dane Wallinga
https://chromiumcodereview.appspot.com/13264002/diff/31001/components/autofill/renderer/autofill_agent.cc File components/autofill/renderer/autofill_agent.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/31001/components/autofill/renderer/autofill_agent.cc#newcode781 components/autofill/renderer/autofill_agent.cc:781: if (forms_have_changed_since_load_) { On 2013/04/02 21:34:53, ahutter wrote: > ...
7 years, 8 months ago (2013-04-03 00:40:41 UTC) #11
Dane Wallinga
please take a look
7 years, 8 months ago (2013-04-05 21:07:05 UTC) #12
Ilya Sherman
When pinging a CL with multiple reviewers, please indicate which reviewer you'd like to review ...
7 years, 8 months ago (2013-04-06 00:29:39 UTC) #13
Dane Wallinga
https://chromiumcodereview.appspot.com/13264002/diff/31002/components/autofill/browser/autofill_manager.cc File components/autofill/browser/autofill_manager.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/31002/components/autofill/browser/autofill_manager.cc#newcode453 components/autofill/browser/autofill_manager.cc:453: bool has_more_forms = param & autofill::PARTIAL_FORMS_SEEN; On 2013/04/06 00:29:39, ...
7 years, 8 months ago (2013-04-08 22:55:50 UTC) #14
Ilya Sherman
https://chromiumcodereview.appspot.com/13264002/diff/31002/components/autofill/browser/autofill_manager.cc File components/autofill/browser/autofill_manager.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/31002/components/autofill/browser/autofill_manager.cc#newcode456 components/autofill/browser/autofill_manager.cc:456: Reset(); On 2013/04/08 22:55:50, dgwallinga wrote: > On 2013/04/06 ...
7 years, 8 months ago (2013-04-09 02:17:46 UTC) #15
Dane Wallinga
https://chromiumcodereview.appspot.com/13264002/diff/31002/components/autofill/browser/autofill_manager.cc File components/autofill/browser/autofill_manager.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/31002/components/autofill/browser/autofill_manager.cc#newcode456 components/autofill/browser/autofill_manager.cc:456: Reset(); On 2013/04/09 02:17:46, Ilya Sherman wrote: > On ...
7 years, 8 months ago (2013-04-10 00:19:12 UTC) #16
Ilya Sherman
LGTM, thanks.
7 years, 8 months ago (2013-04-10 00:22:19 UTC) #17
Dane Wallinga
@isherman,ahutter - made some small changes in autofill_manager.cc and autofill.cc to resolve a couple bugs ...
7 years, 8 months ago (2013-04-18 18:25:15 UTC) #18
Ilya Sherman
https://chromiumcodereview.appspot.com/13264002/diff/67001/components/autofill/renderer/autofill_agent.cc File components/autofill/renderer/autofill_agent.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/67001/components/autofill/renderer/autofill_agent.cc#newcode966 components/autofill/renderer/autofill_agent.cc:966: // save an IPC nit: Please end the sentence ...
7 years, 8 months ago (2013-04-18 22:19:08 UTC) #19
Dane Wallinga
https://chromiumcodereview.appspot.com/13264002/diff/67001/components/autofill/renderer/autofill_agent.cc File components/autofill/renderer/autofill_agent.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/67001/components/autofill/renderer/autofill_agent.cc#newcode966 components/autofill/renderer/autofill_agent.cc:966: // save an IPC On 2013/04/18 22:19:08, Ilya Sherman ...
7 years, 8 months ago (2013-04-18 23:56:43 UTC) #20
Ilya Sherman
https://chromiumcodereview.appspot.com/13264002/diff/67001/components/autofill/renderer/autofill_agent.cc File components/autofill/renderer/autofill_agent.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/67001/components/autofill/renderer/autofill_agent.cc#newcode970 components/autofill/renderer/autofill_agent.cc:970: autofill::PARTIAL_AND_DYNAMIC_FORMS_SEEN : autofill::DYNAMIC_FORMS_SEEN; Is the PARTIAL_AND_DYNAMIC_FORMS_SEEN case reachable anymore? ...
7 years, 8 months ago (2013-04-19 01:38:42 UTC) #21
Dane Wallinga
https://chromiumcodereview.appspot.com/13264002/diff/67001/components/autofill/renderer/autofill_agent.cc File components/autofill/renderer/autofill_agent.cc (right): https://chromiumcodereview.appspot.com/13264002/diff/67001/components/autofill/renderer/autofill_agent.cc#newcode970 components/autofill/renderer/autofill_agent.cc:970: autofill::PARTIAL_AND_DYNAMIC_FORMS_SEEN : autofill::DYNAMIC_FORMS_SEEN; On 2013/04/19 01:38:42, Ilya Sherman wrote: ...
7 years, 8 months ago (2013-04-19 18:19:53 UTC) #22
Ilya Sherman
LGTM, thanks
7 years, 8 months ago (2013-04-20 04:31:46 UTC) #23
Dane Wallinga
@jschuh - can you please take a glance?
7 years, 8 months ago (2013-04-22 18:32:10 UTC) #24
Dane Wallinga
@cdn - could you please take a quick glance at the changes to autofill_messages.h?
7 years, 8 months ago (2013-04-24 18:26:42 UTC) #25
Cris Neckar
IPC security review lgtm
7 years, 7 months ago (2013-04-29 16:38:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgwallinga@chromium.org/13264002/74002
7 years, 7 months ago (2013-04-29 18:11:25 UTC) #27
commit-bot: I haz the power
Failed to apply patch for components/autofill/browser/autofill_manager.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-04-29 18:11:29 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgwallinga@chromium.org/13264002/94001
7 years, 7 months ago (2013-04-30 00:57:57 UTC) #29
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=34608
7 years, 7 months ago (2013-04-30 02:14:15 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgwallinga@chromium.org/13264002/94001
7 years, 7 months ago (2013-04-30 20:11:37 UTC) #31
commit-bot: I haz the power
7 years, 7 months ago (2013-04-30 21:33:11 UTC) #32
Message was sent while issue was closed.
Change committed as 197479

Powered by Google App Engine
This is Rietveld 408576698