Index: chrome/browser/autofill/phone_field_unittest.cc |
=================================================================== |
--- chrome/browser/autofill/phone_field_unittest.cc (revision 74701) |
+++ chrome/browser/autofill/phone_field_unittest.cc (working copy) |
@@ -171,6 +171,9 @@ |
} |
TEST_F(PhoneFieldTest, ThreePartPhoneNumber) { |
+ // Phone in format field-field-field could be either area code-prefix- |
dhollowa
2011/02/16 00:25:37
I had a bit of trouble parsing this comment. I mi
GeorgeY
2011/02/16 20:53:34
Done.
|
+ // suffix, or country code-area code-phone. The only distinguishing feature is |
+ // size: prefix is no bigger than 3 characters, suffix - 4. |
list_.push_back( |
new AutoFillField(webkit_glue::FormField(ASCIIToUTF16("Phone:"), |
ASCIIToUTF16("dayphone1"), |
@@ -184,7 +187,7 @@ |
ASCIIToUTF16("dayphone2"), |
string16(), |
ASCIIToUTF16("text"), |
- 0, |
+ 3, |
false), |
ASCIIToUTF16("prefix1"))); |
list_.push_back( |
@@ -192,7 +195,7 @@ |
ASCIIToUTF16("dayphone3"), |
string16(), |
ASCIIToUTF16("text"), |
- 0, |
+ 4, |
false), |
ASCIIToUTF16("suffix1"))); |
list_.push_back( |