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

Issue 2065303002: Modifying Autofill Agent to use synthetic form (i.e., formless elements) when no form is present on… (Closed)

Created:
4 years, 6 months ago by tmartino
Modified:
4 years, 6 months ago
Reviewers:
Mathieu
CC:
browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, estade+watch_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, rouslan+autofill_chromium.org, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modifying Autofill Agent to use synthetic form (i.e., formless elements) when no form is present on page. BUG=613600 Committed: https://crrev.com/283dda14a5b2f072082d18be905a145a79857f7e Cr-Commit-Position: refs/heads/master@{#401733}

Patch Set 1 #

Patch Set 2 : Correcting formatting #

Patch Set 3 : Adding browser test #

Total comments: 4

Patch Set 4 : Refactoring per mathp comments #

Total comments: 2

Patch Set 5 : Adding more tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -8 lines) Patch
M chrome/renderer/autofill/form_autocomplete_browsertest.cc View 1 2 3 4 3 chunks +59 lines, -2 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/autofill_agent.cc View 1 2 3 4 3 chunks +46 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
tmartino
4 years, 6 months ago (2016-06-14 23:05:19 UTC) #2
Mathieu
On 2016/06/14 at 23:05:19, tmartino wrote: > Hi Tommy, Looks great. Could you update form_autocomplete_browsertest.cc ...
4 years, 6 months ago (2016-06-15 00:56:48 UTC) #3
tmartino
Doing one last end-to-end test of the new logic but it should be good to ...
4 years, 6 months ago (2016-06-20 19:23:48 UTC) #4
Mathieu
Thanks, just a few comments https://codereview.chromium.org/2065303002/diff/40001/chrome/renderer/autofill/form_autocomplete_browsertest.cc File chrome/renderer/autofill/form_autocomplete_browsertest.cc (right): https://codereview.chromium.org/2065303002/diff/40001/chrome/renderer/autofill/form_autocomplete_browsertest.cc#newcode65 chrome/renderer/autofill/form_autocomplete_browsertest.cc:65: ASSERT_LE(2U, std::get<0>(submitted_forms).fields.size()); wouldn't this ...
4 years, 6 months ago (2016-06-21 18:04:07 UTC) #5
tmartino
https://codereview.chromium.org/2065303002/diff/40001/chrome/renderer/autofill/form_autocomplete_browsertest.cc File chrome/renderer/autofill/form_autocomplete_browsertest.cc (right): https://codereview.chromium.org/2065303002/diff/40001/chrome/renderer/autofill/form_autocomplete_browsertest.cc#newcode65 chrome/renderer/autofill/form_autocomplete_browsertest.cc:65: ASSERT_LE(2U, std::get<0>(submitted_forms).fields.size()); On 2016/06/21 at 18:04:07, Mathieu Perreault wrote: ...
4 years, 6 months ago (2016-06-21 23:38:31 UTC) #6
Mathieu
Thanks, few comments https://codereview.chromium.org/2065303002/diff/60001/components/autofill/content/renderer/autofill_agent.cc File components/autofill/content/renderer/autofill_agent.cc (right): https://codereview.chromium.org/2065303002/diff/60001/components/autofill/content/renderer/autofill_agent.cc#newcode655 components/autofill/content/renderer/autofill_agent.cc:655: bool AutofillAgent::CollectFormlessElements(FormData& output) { Please pass ...
4 years, 6 months ago (2016-06-22 15:20:51 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065303002/80001
4 years, 6 months ago (2016-06-23 14:47:55 UTC) #9
tmartino
Added a test; to my eye, it covers every interesting case. LMK if there's something ...
4 years, 6 months ago (2016-06-23 14:52:06 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-23 15:25:19 UTC) #12
Mathieu
lgtm, please comment with repro steps on the bug so that it can be verified!
4 years, 6 months ago (2016-06-23 18:25:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2065303002/80001
4 years, 6 months ago (2016-06-23 21:37:58 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-23 21:44:10 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 21:45:26 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/283dda14a5b2f072082d18be905a145a79857f7e
Cr-Commit-Position: refs/heads/master@{#401733}

Powered by Google App Engine
This is Rietveld 408576698