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

Issue 6113005: Autofill i18n heuristics regular expressions should include credit cards (Closed)

Created:
9 years, 11 months ago by dhollowa
Modified:
9 years, 7 months ago
Reviewers:
jungshik at Google
CC:
chromium-reviews, Ilya Sherman, Paweł Hajdan Jr., James Hawkins, dhollowa
Visibility:
Public.

Description

Autofill i18n heuristics regular expressions should include credit cards This change localizes the Autofill heuristics regular expressions pertaining to credit card information. BUG=55787 TEST=FormStructureBrowserTest.HTMLFiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71089

Patch Set 1 #

Total comments: 4

Patch Set 2 : HTML cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -14 lines) Patch
M chrome/browser/autofill/autofill_resources.grd View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_de.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_en.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_es.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_fr.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_it.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_ja.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_pt.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_ru.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_zh_cn.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/input/form_zh_tw.html View 1 2 chunks +6 lines, -1 line 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_de.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_en.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_es.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_fr.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_it.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_ja.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_pt.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_ru.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_zh_cn.out View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/autofill_heuristics/output/form_zh_tw.out View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
dhollowa
9 years, 11 months ago (2011-01-11 19:34:55 UTC) #1
jungshik at Google
LGTM ! http://codereview.chromium.org/6113005/diff/1/chrome/test/data/autofill_heuristics/input/form_de.html File chrome/test/data/autofill_heuristics/input/form_de.html (right): http://codereview.chromium.org/6113005/diff/1/chrome/test/data/autofill_heuristics/input/form_de.html#newcode4 chrome/test/data/autofill_heuristics/input/form_de.html:4: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> Just a thought ...
9 years, 11 months ago (2011-01-11 19:52:12 UTC) #2
dhollowa
9 years, 11 months ago (2011-01-11 20:07:08 UTC) #3
http://codereview.chromium.org/6113005/diff/1/chrome/test/data/autofill_heuri...
File chrome/test/data/autofill_heuristics/input/form_de.html (right):

http://codereview.chromium.org/6113005/diff/1/chrome/test/data/autofill_heuri...
chrome/test/data/autofill_heuristics/input/form_de.html:4: <meta
http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
On 2011/01/11 19:52:13, Jungshik Shin wrote:
> Just a thought (it does not matter at all): Perhaps, we just want to use HTML5
> doctype and simplify the above meta line to '<meta charset="UTF-8">'. It does
> not affect anything at all. It just occurred to me. 

Done.  Ya, nicer.

http://codereview.chromium.org/6113005/diff/1/chrome/test/data/autofill_heuri...
File chrome/test/data/autofill_heuristics/input/form_en.html (right):

http://codereview.chromium.org/6113005/diff/1/chrome/test/data/autofill_heuri...
chrome/test/data/autofill_heuristics/input/form_en.html:20: <label for="c1">Name
on card:</label> <input type="text" id="c1"><br>
We have a number of unit tests for testing other types of markup, yes.  But unit
tests are cumbersome to write... so more HTML-based tests that get picked up by
the FormStructureBrowserTest.HTMLFiles test would be fantastic.

We have an effort underway to add HTML files here for the top 100 sites.

Any extra HTML examples here would be most welcome.  One set that I'd like to
see are tests for are files that cover the ECML spec / RFC 3106.


On 2011/01/11 19:52:13, Jungshik Shin wrote:
> again not related to this CL (sorry for digressing): Do we have a test for
other
> ways of marking up the input field (other than using 'label' tag)? Perhaps, we
> do. Should we extend that test to non-English as well?

Powered by Google App Engine
This is Rietveld 408576698