[Autofill] Determine Heuristics based on Overall Prediction
Problem: On the last run to determine heuristics we do not consider the overall server type detections, and we only rely on field types detected by heuristics. Since the ultimate filling decisions are based on the overall detection, we need to use overall type detection. As in section identification this can sometimes cause an incorrect output. Exp: In the cabelas.com payment section, the heuristics detect card holder name as the address name, whereas the overall type is detected correctly. The sections are thus wrong. Solution: Update the form from the cache, before determining the heuristics for the last time. Test added. Bug: 831739 Change-Id: Ifdecfa442a21d38b53169c8dafc981ca5447629b Reviewed-on: https://chromium-review.googlesource.com/1012980Reviewed-by:Sebastien Seguin-Gagnon <sebsg@chromium.org> Commit-Queue: Sebastien Seguin-Gagnon <sebsg@chromium.org> Cr-Commit-Position: refs/heads/master@{#551076}
Showing
Please register or sign in to comment