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

Issue 1012093004: Autofill: Improve the order of heuristics to apply when inferring labels (Closed)

Created:
5 years, 9 months ago by Lei Zhang
Modified:
5 years, 9 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, browser-components-watch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, estade+watch_chromium.org, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Autofill: Improve the order of heuristics to apply when inferring labels Right now the order is somewhat arbitrary. Instead, look at the types of a field's ancestors to determine the order. BUG=465587 Committed: https://crrev.com/cd1401c2d863a44ea405a313e94d8fcbfbfb7ada Cr-Commit-Position: refs/heads/master@{#321249}

Patch Set 1 : #

Patch Set 2 : no redundant inferring labels from label tags #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -74 lines) Patch
M chrome/test/data/autofill/heuristics/output/12_register_officedepot.com.out View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/autofill/heuristics/output/20_register_epson.com.mx.out View 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/autofill/heuristics/output/bug_465587.out View 1 chunk +27 lines, -27 lines 0 comments Download
M components/autofill/content/renderer/form_autofill_util.cc View 1 5 chunks +46 lines, -44 lines 2 comments Download

Messages

Total messages: 11 (4 generated)
Lei Zhang
All the labels that we lost as a result of this CL were not very ...
5 years, 9 months ago (2015-03-18 00:58:59 UTC) #4
Lei Zhang
See patch set 2, which removes InferLabelFromLabelTag(() since MatchLabelsAndFields() + WebLabelElement::correspondingControl() already does that.
5 years, 9 months ago (2015-03-18 01:39:43 UTC) #5
Evan Stade
lgtm https://codereview.chromium.org/1012093004/diff/60001/components/autofill/content/renderer/form_autofill_util.cc File components/autofill/content/renderer/form_autofill_util.cc (right): https://codereview.chromium.org/1012093004/diff/60001/components/autofill/content/renderer/form_autofill_util.cc#newcode139 components/autofill/content/renderer/form_autofill_util.cc:139: return (tag_name == "DD" || nit: parens are ...
5 years, 9 months ago (2015-03-18 01:51:29 UTC) #6
Lei Zhang
https://codereview.chromium.org/1012093004/diff/60001/components/autofill/content/renderer/form_autofill_util.cc File components/autofill/content/renderer/form_autofill_util.cc (right): https://codereview.chromium.org/1012093004/diff/60001/components/autofill/content/renderer/form_autofill_util.cc#newcode139 components/autofill/content/renderer/form_autofill_util.cc:139: return (tag_name == "DD" || On 2015/03/18 01:51:29, Evan ...
5 years, 9 months ago (2015-03-18 02:02:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1012093004/60001
5 years, 9 months ago (2015-03-18 23:03:33 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years, 9 months ago (2015-03-19 00:28:07 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 00:28:51 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cd1401c2d863a44ea405a313e94d8fcbfbfb7ada
Cr-Commit-Position: refs/heads/master@{#321249}

Powered by Google App Engine
This is Rietveld 408576698