|
Limit form-less Autofilling to pages that look like checkout pages.
This should hopefully stem the tide of false positives on non-checkout pages, while preserving desired behavior on Best Buy and Apple checkout.
Fixing FormStructureBrowserTests: I went back and added <form>s that were present in the source pages but not in the local copies. I also added the original <title> tags, except for ones that did /not/ include any of the checkout keywords. For these, I added the checkout keywords to the title, so that the test still had some value (instead of passing trivially because the title was "Google Calendar" and not something like "Payment information").
BUG= 471090, 477466
Committed: https://crrev.com/aa3219ce27ef5471c19670fe5145b136925cbc89
Cr-Commit-Position: refs/heads/master@{#327108}
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+920 lines, -256 lines) |
Patch |
 |
M |
chrome/renderer/autofill/form_autofill_browsertest.cc
|
View
|
1
2
3
4
5
|
28 chunks |
+39 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/autofill_noform_dynamic.html
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/25_checkout_m_llbean.com.html
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/b465571.html
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_454366.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_454366b.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_459132.html
|
View
|
1
2
|
4 chunks |
+756 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_460832.html
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_462080.html
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_463856.html
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_465053.html
|
View
|
1
2
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_465576.html
|
View
|
1
2
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_471748.html
|
View
|
1
2
|
1 chunk |
+39 lines, -34 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/input/bug_471831.html
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
D |
chrome/test/data/autofill/heuristics/output/b465571.out
|
View
|
1
2
3
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/autofill/heuristics/output/bug_459132.out
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
D |
chrome/test/data/autofill/heuristics/output/bug_465576.out
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
chrome/test/data/autofill/heuristics/output/bug_471748.out
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill.gypi
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/form_autofill_util.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/form_autofill_util.cc
|
View
|
|
4 chunks |
+23 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/form_cache.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/BUILD.gn
|
View
|
1
2
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
components/autofill/core/browser/autofill_regexes.h
|
View
|
|
1 chunk |
+0 lines, -20 lines |
0 comments
|
Download
|
 |
D |
components/autofill/core/browser/autofill_regexes.cc
|
View
|
|
1 chunk |
+0 lines, -80 lines |
0 comments
|
Download
|
 |
D |
components/autofill/core/browser/autofill_regexes_unittest.cc
|
View
|
1
|
1 chunk |
+0 lines, -66 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/credit_card.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/credit_card_field.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/form_field.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/core/browser/validation.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/autofill/core/common/BUILD.gn
|
View
|
1
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
components/autofill/core/common/autofill_regexes.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
components/autofill/core/common/autofill_regexes.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
components/autofill/core/common/autofill_regexes_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 24 (6 generated)
|