summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/form_structure_browsertest.cc
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 00:29:31 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 00:29:31 +0000
commitd27d1dd88d406247ac5c25e0008606176114ff32 (patch)
tree94ac5d6948fbfc3bc4768ff12035a8f3df4b92de /chrome/browser/autofill/form_structure_browsertest.cc
parent612359d8b81a1a20fef9264222f6f1e2895e0b33 (diff)
downloadchromium_src-d27d1dd88d406247ac5c25e0008606176114ff32.zip
chromium_src-d27d1dd88d406247ac5c25e0008606176114ff32.tar.gz
chromium_src-d27d1dd88d406247ac5c25e0008606176114ff32.tar.bz2
AutoFill field detection logic fails to identify Postcode field on site
Modifies Autofill heuristics regex to match 'postcode' common in the UK. BUG=53075 TEST=FormStructureBrowserTest.DataDrivenHeuristics Review URL: http://codereview.chromium.org/7121019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88249 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/form_structure_browsertest.cc')
-rw-r--r--chrome/browser/autofill/form_structure_browsertest.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/autofill/form_structure_browsertest.cc b/chrome/browser/autofill/form_structure_browsertest.cc
index 1421178..5bdd794 100644
--- a/chrome/browser/autofill/form_structure_browsertest.cc
+++ b/chrome/browser/autofill/form_structure_browsertest.cc
@@ -180,3 +180,10 @@ IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics14) {
GetOutputDirectory(kTestName),
kFileNamePattern);
}
+
+IN_PROC_BROWSER_TEST_F(FormStructureBrowserTest, DataDrivenHeuristics15) {
+ const FilePath::CharType kFileNamePattern[] = FILE_PATH_LITERAL("15_*.html");
+ RunDataDrivenTest(GetInputDirectory(kTestName),
+ GetOutputDirectory(kTestName),
+ kFileNamePattern);
+}