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

Issue 5137004: Autofill: Prefer maxLength to size attribute for form filling heuristics. (Closed)

Created:
10 years, 1 month ago by Ilya Sherman
Modified:
9 years, 7 months ago
Reviewers:
dhollowa
CC:
chromium-reviews, James Hawkins, Paweł Hajdan Jr., darin-cc_chromium.org, brettw-cc_chromium.org, ben+cc_chromium.org, dhollowa
Visibility:
Public.

Description

Autofill: Prefer maxLength to size attribute for form filling heuristics. BUG=63440 TEST=browser_tests --gtest_filter=FormManagerTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66850

Patch Set 1 #

Total comments: 2

Patch Set 2 : maxLength to the max #

Total comments: 1

Patch Set 3 : Addresses review comments #

Patch Set 4 : Fix RenderViewTest browser tests #

Total comments: 1

Patch Set 5 : Denitting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -153 lines) Patch
M chrome/browser/autofill/autofill_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/common/render_messages.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/form_manager.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/form_manager_browsertest.cc View 1 2 49 chunks +126 lines, -123 lines 0 comments Download
M chrome/renderer/render_view_browsertest.cc View 4 4 chunks +13 lines, -6 lines 0 comments Download
M webkit/glue/form_field.h View 3 chunks +4 lines, -4 lines 0 comments Download
M webkit/glue/form_field.cc View 6 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Ilya Sherman
10 years, 1 month ago (2010-11-18 11:34:16 UTC) #1
dhollowa
http://codereview.chromium.org/5137004/diff/1/chrome/renderer/form_manager.cc File chrome/renderer/form_manager.cc (right): http://codereview.chromium.org/5137004/diff/1/chrome/renderer/form_manager.cc#newcode313 chrome/renderer/form_manager.cc:313: // TODO(isherman): Add "524288" as a named constant to ...
10 years, 1 month ago (2010-11-18 18:26:46 UTC) #2
Ilya Sherman
http://codereview.chromium.org/5137004/diff/1/chrome/renderer/form_manager.cc File chrome/renderer/form_manager.cc (right): http://codereview.chromium.org/5137004/diff/1/chrome/renderer/form_manager.cc#newcode313 chrome/renderer/form_manager.cc:313: // TODO(isherman): Add "524288" as a named constant to ...
10 years, 1 month ago (2010-11-19 02:33:44 UTC) #3
dhollowa
Looks like unit tests need some help.
10 years, 1 month ago (2010-11-19 02:54:04 UTC) #4
dhollowa
On 2010/11/19 02:54:04, dhollowa wrote: > Looks like unit tests need some help. (Try bots ...
10 years, 1 month ago (2010-11-19 02:54:34 UTC) #5
dhollowa
http://codereview.chromium.org/5137004/diff/4001/chrome/renderer/form_manager_browsertest.cc File chrome/renderer/form_manager_browsertest.cc (right): http://codereview.chromium.org/5137004/diff/4001/chrome/renderer/form_manager_browsertest.cc#newcode41 chrome/renderer/form_manager_browsertest.cc:41: const int defaultMaxLength = 524288; nit: kDefaultMaxLength. Also, 524288 ...
10 years, 1 month ago (2010-11-19 03:00:28 UTC) #6
Ilya Sherman
On 2010/11/19 02:54:34, dhollowa wrote: > On 2010/11/19 02:54:04, dhollowa wrote: > > Looks like ...
10 years, 1 month ago (2010-11-19 09:10:56 UTC) #7
dhollowa
10 years, 1 month ago (2010-11-19 15:45:22 UTC) #8
LGTM.

http://codereview.chromium.org/5137004/diff/15001/chrome/renderer/render_view...
File chrome/renderer/render_view_browsertest.cc (right):

http://codereview.chromium.org/5137004/diff/15001/chrome/renderer/render_view...
chrome/renderer/render_view_browsertest.cc:46: }
nit: }  // namespace

Powered by Google App Engine
This is Rietveld 408576698