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

Issue 11415221: Add support for autofilling radio buttons and checkboxes. (Closed)

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

Description

Add support for autofilling radio buttons and checkboxes. Autofill server is equiped with provision to say a field type as FIELD_WITH_DEFAULT_VALUE and specify what value to use by default it client wants to fill it. For radio buttons, if the default value specified by the autofill server is same as its value, Chrome checks that input element. all changes are behind switch. BUG=157636 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173889

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressed review comments #

Total comments: 52

Patch Set 3 : Fixed review comments. #

Patch Set 4 : Fix lint errors #

Total comments: 3

Patch Set 5 : Addressed Albert's comments #

Patch Set 6 : address comments #

Total comments: 30

Patch Set 7 : Fixed review comments #

Total comments: 8

Patch Set 8 : More fixes #

Total comments: 15

Patch Set 9 : Added IsCheckableElement to replace IsRadiobuttonElement and IsCheckboxElement in renderer code. #

Patch Set 10 : Fix the lint error on the comment line. #

Patch Set 11 : Fix browser tests (added more data in .out files, skip checkable elements when trying to parse with… #

Total comments: 6

Patch Set 12 : Move changes from AutofillScanner to FormField, etc. #

Patch Set 13 : Remove extra line change in autofill_scanner.cc #

Total comments: 8

Patch Set 14 : More unit tests #

Total comments: 3

Patch Set 15 : Rewrote unit test #

Patch Set 16 : Fix for android CQ failure. #

Total comments: 2

Patch Set 17 : fix the nit. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+694 lines, -142 lines) Patch
M chrome/browser/autofill/autofill_field.h View 1 2 3 4 5 6 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_field.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 2 3 4 5 6 2 chunks +54 lines, -0 lines 0 comments Download
A chrome/browser/autofill/autofill_server_field_info.h View 1 2 3 4 5 6 1 chunk +20 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_xml_parser.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/autofill/autofill_xml_parser.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +30 lines, -21 lines 0 comments Download
M chrome/browser/autofill/autofill_xml_parser_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +66 lines, -44 lines 0 comments Download
M chrome/browser/autofill/field_types.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/autofill/form_field.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_field_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +45 lines, -12 lines 1 comment Download
M chrome/browser/autofill/form_structure_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +58 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/autofill_messages.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/form_field_data.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/form_field_data.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/form_autofill_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +35 lines, -17 lines 0 comments Download
M chrome/renderer/autofill/form_autofill_util.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/form_autofill_util.cc View 1 2 3 4 5 6 7 8 9 10 12 chunks +39 lines, -17 lines 2 comments Download
M chrome/renderer/autofill/form_cache.h View 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/form_cache.cc View 1 2 3 4 5 6 7 8 9 5 chunks +44 lines, -21 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/02_checkout_advanceautoparts.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/02_checkout_ae.com.out View 1 2 3 4 5 6 7 8 9 10 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/02_checkout_bedbathandbeyond.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/02_checkout_cafepress.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/03_checkout_cduniverse.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/03_checkout_crutchfield.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/03_checkout_gamestop.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/03_checkout_homedepot.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/03_checkout_hsn.com.out View 1 2 3 4 5 6 7 8 9 10 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/04_checkout_jr.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/04_checkout_kohls.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/04_checkout_lowes.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M chrome/test/data/autofill/heuristics/output/05_checkout_macys.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/05_checkout_nordstrom.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/05_checkout_officemax.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/05_checkout_overstock.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/05_checkout_petco.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/06_checkout_petsmart.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/06_checkout_qvc.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/06_checkout_sears.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/06_checkout_target.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/06_checkout_urbanoutfitters.com.out View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/07_checkout_williams-sonoma.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/08_register_adobe.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/08_register_amazon.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/08_register_aol.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/08_register_continental.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -1 line 0 comments Download
M chrome/test/data/autofill/heuristics/output/09_register_deviantart.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/09_register_ebay.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/09_register_ecomm.dell.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/09_register_epson.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/09_register_google.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/10_register_gymboree.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/10_register_hotels.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/10_register_imdb.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/10_register_live.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/11_register_livejournal.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/11_register_macys.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/11_register_myspace.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/11_register_newegg.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/12_register_officedepot.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/12_register_pyramidcollection.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/12_register_rediff.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/12_register_rei.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/13_register_rocketlawyer.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/13_register_signup.clicksor.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/13_register_signup.live.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/13_register_sourceforge.net.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/13_register_supershuttle.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/14_register_target.com.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/14_register_threadless.com.out View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/15_crbug_53075.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/15_crbug_64569.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/16_crbug_87517.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/16_crbug_98152.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/16_crbug_98269.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/16_crbug_98286.out View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/20_register_alaskaair.com.out View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (0 generated)
Raman Kakilate
8 years ago (2012-11-30 01:52:57 UTC) #1
Raman Kakilate
Updated description with the bug number.
8 years ago (2012-11-30 02:19:57 UTC) #2
Albert Bodenhamer
This looks straightforward but Ilya knows this code much better than I do. I'd like ...
8 years ago (2012-11-30 19:01:08 UTC) #3
Raman Kakilate
Fixed the description. https://codereview.chromium.org/11415221/diff/1/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11415221/diff/1/chrome/browser/autofill/autofill_xml_parser.cc#newcode92 chrome/browser/autofill/autofill_xml_parser.cc:92: if (field_type == FIELD_WITH_DEFAULT_VALUE && attrs[2]) ...
8 years ago (2012-11-30 22:36:52 UTC) #4
Ilya Sherman
Thanks, looks pretty on track at a high level :) https://codereview.chromium.org/11415221/diff/1/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11415221/diff/1/chrome/browser/autofill/autofill_xml_parser.cc#newcode92 ...
8 years ago (2012-12-01 00:54:12 UTC) #5
Raman Kakilate
https://codereview.chromium.org/11415221/diff/1/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11415221/diff/1/chrome/browser/autofill/autofill_xml_parser.cc#newcode92 chrome/browser/autofill/autofill_xml_parser.cc:92: if (field_type == FIELD_WITH_DEFAULT_VALUE && attrs[2]) { On 2012/12/01 ...
8 years ago (2012-12-06 01:54:05 UTC) #6
Albert Bodenhamer
https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc#newcode96 chrome/browser/autofill/autofill_xml_parser.cc:96: attrs +=2; This is awkward. If you're going to ...
8 years ago (2012-12-06 17:39:04 UTC) #7
Raman Kakilate
https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc#newcode96 chrome/browser/autofill/autofill_xml_parser.cc:96: attrs +=2; On 2012/12/06 17:39:05, Albert Bodenhamer wrote: > ...
8 years ago (2012-12-06 18:06:35 UTC) #8
Albert Bodenhamer
On Thu, Dec 6, 2012 at 10:06 AM, <ramankk@chromium.org> wrote: > > https://codereview.chromium.**org/11415221/diff/16001/** > chrome/browser/autofill/**autofill_xml_parser.cc<https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc> ...
8 years ago (2012-12-06 18:58:31 UTC) #9
Raman Kakilate
On 2012/12/06 18:58:31, Albert Bodenhamer wrote: > On Thu, Dec 6, 2012 at 10:06 AM, ...
8 years ago (2012-12-06 22:51:47 UTC) #10
Albert Bodenhamer
https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc File chrome/browser/autofill/autofill_xml_parser.cc (right): https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc#newcode96 chrome/browser/autofill/autofill_xml_parser.cc:96: attrs +=2; On 2012/12/06 18:06:35, Raman Kakilate wrote: > ...
8 years ago (2012-12-06 23:15:44 UTC) #11
Raman Kakilate
On 2012/12/06 23:15:44, Albert Bodenhamer wrote: > https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc > File chrome/browser/autofill/autofill_xml_parser.cc (right): > > https://codereview.chromium.org/11415221/diff/16001/chrome/browser/autofill/autofill_xml_parser.cc#newcode96 ...
8 years ago (2012-12-06 23:33:24 UTC) #12
Albert Bodenhamer
lgtm
8 years ago (2012-12-06 23:35:14 UTC) #13
Ilya Sherman
https://codereview.chromium.org/11415221/diff/4001/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): https://codereview.chromium.org/11415221/diff/4001/chrome/browser/autofill/autofill_manager.cc#newcode655 chrome/browser/autofill/autofill_manager.cc:655: string16 default_value = ASCIIToUTF16(cached_field->default_value()); On 2012/12/06 01:54:05, Raman Kakilate ...
8 years ago (2012-12-07 01:47:22 UTC) #14
Evan Stade
https://codereview.chromium.org/11415221/diff/23022/chrome/browser/autofill/autofill_field.h File chrome/browser/autofill/autofill_field.h (right): https://codereview.chromium.org/11415221/diff/23022/chrome/browser/autofill/autofill_field.h#newcode82 chrome/browser/autofill/autofill_field.h:82: // Used to park the default value returned by ...
8 years ago (2012-12-07 19:21:14 UTC) #15
Raman Kakilate
https://codereview.chromium.org/11415221/diff/4001/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): https://codereview.chromium.org/11415221/diff/4001/chrome/browser/autofill/autofill_manager.cc#newcode655 chrome/browser/autofill/autofill_manager.cc:655: string16 default_value = ASCIIToUTF16(cached_field->default_value()); On 2012/12/07 01:47:22, Ilya Sherman ...
8 years ago (2012-12-10 18:36:45 UTC) #16
Ilya Sherman
https://codereview.chromium.org/11415221/diff/4001/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): https://codereview.chromium.org/11415221/diff/4001/chrome/browser/autofill/autofill_manager.cc#newcode656 chrome/browser/autofill/autofill_manager.cc:656: result.fields[i].is_checked = (default_value == result.fields[i].value); On 2012/12/10 18:36:45, Raman ...
8 years ago (2012-12-11 05:56:18 UTC) #17
Raman Kakilate
https://codereview.chromium.org/11415221/diff/4001/chrome/browser/autofill/autofill_manager.cc File chrome/browser/autofill/autofill_manager.cc (right): https://codereview.chromium.org/11415221/diff/4001/chrome/browser/autofill/autofill_manager.cc#newcode656 chrome/browser/autofill/autofill_manager.cc:656: result.fields[i].is_checked = (default_value == result.fields[i].value); On 2012/12/11 05:56:19, Ilya ...
8 years ago (2012-12-11 17:45:44 UTC) #18
Ilya Sherman
Thanks. LGTM with a last few nits: https://codereview.chromium.org/11415221/diff/42001/chrome/browser/autofill/form_structure.cc File chrome/browser/autofill/form_structure.cc (left): https://codereview.chromium.org/11415221/diff/42001/chrome/browser/autofill/form_structure.cc#oldcode451 chrome/browser/autofill/form_structure.cc:451: nit: Please ...
8 years ago (2012-12-12 00:26:44 UTC) #19
Raman Kakilate
https://codereview.chromium.org/11415221/diff/42001/chrome/browser/autofill/form_structure.cc File chrome/browser/autofill/form_structure.cc (left): https://codereview.chromium.org/11415221/diff/42001/chrome/browser/autofill/form_structure.cc#oldcode451 chrome/browser/autofill/form_structure.cc:451: On 2012/12/12 00:26:44, Ilya Sherman wrote: > nit: Please ...
8 years ago (2012-12-12 01:22:04 UTC) #20
Raman Kakilate
+sky for gypi and chrome/common changes. +cdn for autofill_messages.h changes.
8 years ago (2012-12-12 16:55:33 UTC) #21
sky
LGTM
8 years ago (2012-12-12 17:38:23 UTC) #22
Cris Neckar
The IPC changes look OK but are we actually parsing xml in the browser process? ...
8 years ago (2012-12-12 18:42:57 UTC) #23
Raman Kakilate
On 2012/12/12 18:42:57, Cris Neckar wrote: > The IPC changes look OK but are we ...
8 years ago (2012-12-12 18:56:52 UTC) #24
Cris Neckar
Yep of course. I'll follow up with them. lgtm on ipc
8 years ago (2012-12-12 23:31:26 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/11415221/52001
8 years ago (2012-12-13 00:07:14 UTC) #26
commit-bot: I haz the power
Presubmit check for 11415221-52001 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-13 00:07:26 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/11415221/44003
8 years ago (2012-12-13 00:20:06 UTC) #28
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests
8 years ago (2012-12-13 01:17:31 UTC) #29
Albert Bodenhamer
Looks like it might be a legit failure. http://build.chromium.org/p/tryserver.chromium/builders/linux_rel/builds/83753/steps/unit_tests/logs/stdio#failure1has details. Raman, can you run those ...
8 years ago (2012-12-13 01:21:59 UTC) #30
Raman Kakilate
On 2012/12/13 01:21:59, Albert Bodenhamer wrote: > Looks like it might be a legit failure. ...
8 years ago (2012-12-13 02:03:36 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/11415221/44003
8 years ago (2012-12-13 17:04:20 UTC) #32
Albert Bodenhamer
Let's try it again. If it fails again we'll dig further. On Wed, Dec 12, ...
8 years ago (2012-12-13 17:05:09 UTC) #33
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests
8 years ago (2012-12-13 17:54:25 UTC) #34
Raman Kakilate
On 2012/12/13 17:54:25, I haz the power (commit-bot) wrote: > Retried try job too often ...
8 years ago (2012-12-13 18:45:29 UTC) #35
Albert Bodenhamer
I'm able to repro the browser_test issue locally in a debug build on Windows.: ninja ...
8 years ago (2012-12-13 23:17:37 UTC) #36
Raman Kakilate
PTAL. 1. Updated loads of heuristics related .out files to reflect check-boxes and radio-buttons as ...
8 years ago (2012-12-14 22:38:24 UTC) #37
Ilya Sherman
https://chromiumcodereview.appspot.com/11415221/diff/70001/chrome/browser/autofill/autofill_scanner.h File chrome/browser/autofill/autofill_scanner.h (right): https://chromiumcodereview.appspot.com/11415221/diff/70001/chrome/browser/autofill/autofill_scanner.h#newcode18 chrome/browser/autofill/autofill_scanner.h:18: // interferes with correctly understanding ADDRESS_LINE2). Rather than changing ...
8 years ago (2012-12-15 01:08:36 UTC) #38
Raman Kakilate
https://codereview.chromium.org/11415221/diff/70001/chrome/browser/autofill/autofill_scanner.h File chrome/browser/autofill/autofill_scanner.h (right): https://codereview.chromium.org/11415221/diff/70001/chrome/browser/autofill/autofill_scanner.h#newcode18 chrome/browser/autofill/autofill_scanner.h:18: // interferes with correctly understanding ADDRESS_LINE2). On 2012/12/15 01:08:36, ...
8 years ago (2012-12-17 20:11:00 UTC) #39
Ilya Sherman
https://chromiumcodereview.appspot.com/11415221/diff/84002/chrome/browser/autofill/autofill_xml_parser_unittest.cc File chrome/browser/autofill/autofill_xml_parser_unittest.cc (right): https://chromiumcodereview.appspot.com/11415221/diff/84002/chrome/browser/autofill/autofill_xml_parser_unittest.cc#newcode200 chrome/browser/autofill/autofill_xml_parser_unittest.cc:200: // Update the autofilltype to MAX_VALID_FIELD_TYPE when it changes. ...
8 years ago (2012-12-17 22:33:27 UTC) #40
Raman Kakilate
https://chromiumcodereview.appspot.com/11415221/diff/84002/chrome/browser/autofill/autofill_xml_parser_unittest.cc File chrome/browser/autofill/autofill_xml_parser_unittest.cc (right): https://chromiumcodereview.appspot.com/11415221/diff/84002/chrome/browser/autofill/autofill_xml_parser_unittest.cc#newcode200 chrome/browser/autofill/autofill_xml_parser_unittest.cc:200: // Update the autofilltype to MAX_VALID_FIELD_TYPE when it changes. ...
8 years ago (2012-12-18 01:54:04 UTC) #41
Ilya Sherman
Last few nits; then this should be good to go. Thanks! https://chromiumcodereview.appspot.com/11415221/diff/87003/chrome/browser/autofill/form_field_unittest.cc File chrome/browser/autofill/form_field_unittest.cc (right): ...
8 years ago (2012-12-18 02:05:10 UTC) #42
Raman Kakilate
Inlined the function. PTAL. On 2012/12/18 02:05:10, Ilya Sherman wrote: > Last few nits; then ...
8 years ago (2012-12-18 03:26:14 UTC) #43
Ilya Sherman
LGTM, thanks :)
8 years ago (2012-12-18 03:39:55 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/11415221/82004
8 years ago (2012-12-18 03:43:58 UTC) #45
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-18 04:26:49 UTC) #46
Ilya Sherman
https://chromiumcodereview.appspot.com/11415221/diff/79005/chrome/browser/autofill/form_field.cc File chrome/browser/autofill/form_field.cc (right): https://chromiumcodereview.appspot.com/11415221/diff/79005/chrome/browser/autofill/form_field.cc#newcode66 chrome/browser/autofill/form_field.cc:66: IsCheckable), remaining_fields.end()); nit: Please move the "remaining_fields.end()" argument to ...
8 years ago (2012-12-18 04:32:40 UTC) #47
Raman Kakilate
https://codereview.chromium.org/11415221/diff/79005/chrome/browser/autofill/form_field.cc File chrome/browser/autofill/form_field.cc (right): https://codereview.chromium.org/11415221/diff/79005/chrome/browser/autofill/form_field.cc#newcode66 chrome/browser/autofill/form_field.cc:66: IsCheckable), remaining_fields.end()); On 2012/12/18 04:32:40, Ilya Sherman wrote: > ...
8 years ago (2012-12-18 04:37:32 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/11415221/91004
8 years ago (2012-12-18 06:39:27 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ramankk@chromium.org/11415221/91004
8 years ago (2012-12-19 01:47:21 UTC) #50
commit-bot: I haz the power
Change committed as 173889
8 years ago (2012-12-19 10:08:47 UTC) #51
Albert Bodenhamer
https://chromiumcodereview.appspot.com/11415221/diff/91004/chrome/browser/autofill/form_structure.cc File chrome/browser/autofill/form_structure.cc (right): https://chromiumcodereview.appspot.com/11415221/diff/91004/chrome/browser/autofill/form_structure.cc#newcode912 chrome/browser/autofill/form_structure.cc:912: continue; optional nit: I'm not fond of the use ...
7 years, 11 months ago (2013-01-08 17:12:54 UTC) #52
Evan Stade
7 years, 11 months ago (2013-01-08 21:18:54 UTC) #53
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/11415221/diff/91004/chrome/renderer/au...
File chrome/renderer/autofill/form_autofill_util.cc (right):

https://chromiumcodereview.appspot.com/11415221/diff/91004/chrome/renderer/au...
chrome/renderer/autofill/form_autofill_util.cc:562: return
element->formControlType() == ASCIIToUTF16("checkbox") ||
On 2013/01/08 17:12:57, Albert Bodenhamer wrote:
> There was some evidence that this function was the cause of the slowdown.
Right?
> You should be able to create string16 constants for "checkbox" and "radio" in
> order to avoid the overhead of constantly calling ASCIIToUTF16.

ASCIIToUTF16 is cheap (it's just a copy, unlike UTF8ToUTF16).

That said, this code should use LowerCaseEqualsASCII()

Powered by Google App Engine
This is Rietveld 408576698