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

Issue 661026: Only load text fields in the form structure. This prevents us from trying to... (Closed)

Created:
10 years, 10 months ago by James Hawkins
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Only load text fields in the form structure. This prevents us from trying to autofill username/password forms. BUG=none TEST=FormStructureTest TEST=log in to gmail. AutoFill infobar should not show up. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=39985

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -12 lines) Patch
M chrome/browser/autofill/form_structure.cc View 1 6 chunks +15 lines, -12 lines 0 comments Download
A chrome/browser/autofill/form_structure_unittest.cc View 1 chunk +93 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
James Hawkins
10 years, 10 months ago (2010-02-24 22:43:35 UTC) #1
darin (slow to review)
Is there a way to write a test for this? :-) http://codereview.chromium.org/661026/diff/1/2 File chrome/browser/autofill/form_structure.cc (right): ...
10 years, 10 months ago (2010-02-24 23:48:55 UTC) #2
James Hawkins
Also added unit tests for FormStructure. http://codereview.chromium.org/661026/diff/1/2 File chrome/browser/autofill/form_structure.cc (right): http://codereview.chromium.org/661026/diff/1/2#newcode68 chrome/browser/autofill/form_structure.cc:68: if (field->form_control_type() != ...
10 years, 10 months ago (2010-02-25 01:15:34 UTC) #3
darin (slow to review)
10 years, 10 months ago (2010-02-25 03:07:55 UTC) #4
LGTM!

Powered by Google App Engine
This is Rietveld 408576698