summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/automation/automation_provider.cc1
-rw-r--r--chrome/test/functional/autofill.py3
-rw-r--r--chrome/test/pyautolib/pyauto.py4
3 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index c7d73cb..d2ff95c 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -3154,7 +3154,6 @@ std::map<AutoFillFieldType, std::wstring>
std::map<AutoFillFieldType, std::wstring> credit_card_type_to_string;
credit_card_type_to_string[CREDIT_CARD_NAME] = L"CREDIT_CARD_NAME";
credit_card_type_to_string[CREDIT_CARD_NUMBER] = L"CREDIT_CARD_NUMBER";
- credit_card_type_to_string[CREDIT_CARD_TYPE] = L"CREDIT_CARD_TYPE";
credit_card_type_to_string[CREDIT_CARD_EXP_MONTH] = L"CREDIT_CARD_EXP_MONTH";
credit_card_type_to_string[CREDIT_CARD_EXP_4_DIGIT_YEAR] =
L"CREDIT_CARD_EXP_4_DIGIT_YEAR";
diff --git a/chrome/test/functional/autofill.py b/chrome/test/functional/autofill.py
index 0c68c22..53323e1 100644
--- a/chrome/test/functional/autofill.py
+++ b/chrome/test/functional/autofill.py
@@ -21,8 +21,7 @@ class AutoFillTest(pyauto.PyUITest):
'CREDIT_CARD_EXP_MONTH': '12',
'CREDIT_CARD_EXP_4_DIGIT_YEAR': '2011'},
{'label': 'Credit Card 2',
- 'CREDIT_CARD_NAME': 'Bob C. Smith',
- 'CREDIT_CARD_TYPE': 'Visa'}]
+ 'CREDIT_CARD_NAME': 'Bob C. Smith'}]
self.FillAutoFillProfile(profiles=profiles, credit_cards=credit_cards)
profile = self.GetAutoFillProfile()
diff --git a/chrome/test/pyautolib/pyauto.py b/chrome/test/pyautolib/pyauto.py
index 9225a0f..ac13404 100644
--- a/chrome/test/pyautolib/pyauto.py
+++ b/chrome/test/pyautolib/pyauto.py
@@ -821,8 +821,8 @@ class PyUITest(pyautolib.PyUITestBase, unittest.TestCase):
}
Each dictionary must have a key 'label'. Other possible keys are:
- 'CREDIT_CARD_NAME', 'CREDIT_CARD_NUMBER', 'CREDIT_CARD_TYPE',
- 'CREDIT_CARD_EXP_MONTH', 'CREDIT_CARD_EXP_4_DIGIT_YEAR'
+ 'CREDIT_CARD_NAME', 'CREDIT_CARD_NUMBER', 'CREDIT_CARD_EXP_MONTH',
+ 'CREDIT_CARD_EXP_4_DIGIT_YEAR'
All values must be strings.