| Index: chrome/renderer/autofill/form_autofill_browsertest.cc
|
| diff --git a/chrome/renderer/autofill/form_autofill_browsertest.cc b/chrome/renderer/autofill/form_autofill_browsertest.cc
|
| index a447229efbeef8f539fcfa71321760b985271b12..24b5f05cab1403664b768f7bb2980e89b9657201 100644
|
| --- a/chrome/renderer/autofill/form_autofill_browsertest.cc
|
| +++ b/chrome/renderer/autofill/form_autofill_browsertest.cc
|
| @@ -2393,7 +2393,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_FindFormForInputElementForUnownedForm) {
|
| +TEST_F(FormAutofillTest, FindFormForInputElementForUnownedForm) {
|
| TestFindFormForInputElement(
|
| "<INPUT type='text' id='firstname' value='John'/>"
|
| "<INPUT type='text' id='lastname' value='Smith'/>"
|
| @@ -2420,7 +2420,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_FindFormForTextAreaElementForUnownedForm) {
|
| +TEST_F(FormAutofillTest, FindFormForTextAreaElementForUnownedForm) {
|
| TestFindFormForTextAreaElement(
|
| "<INPUT type='text' id='firstname' value='John'/>"
|
| "<INPUT type='text' id='lastname' value='Smith'/>"
|
| @@ -2439,7 +2439,7 @@
|
| TestFillForm(kFormHtml, false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_FillFormForUnownedForm) {
|
| +TEST_F(FormAutofillTest, FillFormForUnownedForm) {
|
| TestFillForm(kUnownedFormHtml, true);
|
| }
|
|
|
| @@ -2531,7 +2531,7 @@
|
| TestPreviewForm(kFormHtml, false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_PreviewFormForUnownedForm) {
|
| +TEST_F(FormAutofillTest, PreviewFormForUnownedForm) {
|
| TestPreviewForm(kUnownedFormHtml, true);
|
| }
|
|
|
| @@ -3406,7 +3406,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_FillFormMaxLengthForUnownedForm) {
|
| +TEST_F(FormAutofillTest, FillFormMaxLengthForUnownedForm) {
|
| TestFillFormMaxLength(
|
| "<INPUT type='text' id='firstname' maxlength='5'/>"
|
| "<INPUT type='text' id='lastname' maxlength='7'/>"
|
| @@ -3429,7 +3429,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_FillFormNegativeMaxLengthForUnownedForm) {
|
| +TEST_F(FormAutofillTest, FillFormNegativeMaxLengthForUnownedForm) {
|
| TestFillFormNegativeMaxLength(
|
| "<INPUT type='text' id='firstname' maxlength='-1'/>"
|
| "<INPUT type='text' id='lastname' maxlength='-10'/>"
|
| @@ -3449,7 +3449,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_FillFormEmptyNameForUnownedForm) {
|
| +TEST_F(FormAutofillTest, FillFormEmptyNameForUnownedForm) {
|
| TestFillFormEmptyName(
|
| "<INPUT type='text' id='firstname'/>"
|
| "<INPUT type='text' id='lastname'/>"
|
| @@ -3475,7 +3475,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_FillFormEmptyFormNamesForUnownedForm) {
|
| +TEST_F(FormAutofillTest, FillFormEmptyFormNamesForUnownedForm) {
|
| TestFillFormEmptyFormNames(
|
| "<INPUT type='text' id='firstname'/>"
|
| "<INPUT type='text' id='middlename'/>"
|
| @@ -3631,7 +3631,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_FillFormNonEmptyFieldForUnownedForm) {
|
| +TEST_F(FormAutofillTest, FillFormNonEmptyFieldForUnownedForm) {
|
| TestFillFormNonEmptyField("<INPUT type='text' id='firstname'/>"
|
| "<INPUT type='text' id='lastname'/>"
|
| "<INPUT type='text' id='email'/>"
|
| @@ -3659,7 +3659,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_ClearFormWithNodeForUnownedForm) {
|
| +TEST_F(FormAutofillTest, ClearFormWithNodeForUnownedForm) {
|
| TestClearFormWithNode(
|
| " <!-- Indented on purpose //-->"
|
| " <INPUT type='text' id='firstname' value='Wyatt'/>"
|
| @@ -3694,8 +3694,7 @@
|
| false);
|
| }
|
|
|
| -TEST_F(FormAutofillTest,
|
| - DISABLED_ClearFormWithNodeContainingSelectOneForUnownedForm) {
|
| +TEST_F(FormAutofillTest, ClearFormWithNodeContainingSelectOneForUnownedForm) {
|
| TestClearFormWithNodeContainingSelectOne(
|
| "<INPUT type='text' id='firstname' value='Wyatt'/>"
|
| "<INPUT type='text' id='lastname' value='Earp'/>"
|
| @@ -3721,7 +3720,7 @@
|
| "</FORM>");
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_ClearPreviewedFormWithElementForUnownedForm) {
|
| +TEST_F(FormAutofillTest, ClearPreviewedFormWithElementForUnownedForm) {
|
| TestClearPreviewedFormWithElement(
|
| "<INPUT type='text' id='firstname' value='Wyatt'/>"
|
| "<INPUT type='text' id='lastname'/>"
|
| @@ -3744,7 +3743,7 @@
|
| }
|
|
|
| TEST_F(FormAutofillTest,
|
| - DISABLED_ClearPreviewedFormWithNonEmptyInitiatingNodeForUnownedForm) {
|
| + ClearPreviewedFormWithNonEmptyInitiatingNodeForUnownedForm) {
|
| TestClearPreviewedFormWithNonEmptyInitiatingNode(
|
| "<INPUT type='text' id='firstname' value='W'/>"
|
| "<INPUT type='text' id='lastname'/>"
|
| @@ -3767,7 +3766,7 @@
|
| }
|
|
|
| TEST_F(FormAutofillTest,
|
| - DISABLED_ClearPreviewedFormWithAutofilledInitiatingNodeForUnownedForm) {
|
| + ClearPreviewedFormWithAutofilledInitiatingNodeForUnownedForm) {
|
| TestClearPreviewedFormWithAutofilledInitiatingNode(
|
| "<INPUT type='text' id='firstname' value='W'/>"
|
| "<INPUT type='text' id='lastname'/>"
|
| @@ -3789,7 +3788,7 @@
|
| "</FORM>");
|
| }
|
|
|
| -TEST_F(FormAutofillTest, DISABLED_ClearOnlyAutofilledFieldsForUnownedForm) {
|
| +TEST_F(FormAutofillTest, ClearOnlyAutofilledFieldsForUnownedForm) {
|
| TestClearOnlyAutofilledFields(
|
| "<INPUT type='text' id='firstname' value='Wyatt'/>"
|
| "<INPUT type='text' id='lastname' value='Earp'/>"
|
| @@ -3948,7 +3947,7 @@
|
| }
|
|
|
| TEST_F(FormAutofillTest,
|
| - DISABLED_UnownedFormElementsAndFieldSetsToFormDataFieldsets) {
|
| + UnownedFormElementsAndFieldSetsToFormDataFieldsets) {
|
| std::vector<WebElement> fieldsets;
|
| std::vector<WebFormControlElement> control_elements;
|
|
|
| @@ -4010,7 +4009,7 @@
|
| }
|
|
|
| TEST_F(FormAutofillTest,
|
| - DISABLED_UnownedFormElementsAndFieldSetsToFormDataControlOutsideOfFieldset) {
|
| + UnownedFormElementsAndFieldSetsToFormDataControlOutsideOfFieldset) {
|
| std::vector<WebElement> fieldsets;
|
| std::vector<WebFormControlElement> control_elements;
|
|
|
| @@ -4069,8 +4068,7 @@
|
| EXPECT_FORM_FIELD_DATA_EQUALS(expected, fields[2]);
|
| }
|
|
|
| -TEST_F(FormAutofillTest,
|
| - DISABLED_UnownedFormElementsAndFieldSetsToFormDataWithForm) {
|
| +TEST_F(FormAutofillTest, UnownedFormElementsAndFieldSetsToFormDataWithForm) {
|
| std::vector<WebElement> fieldsets;
|
| std::vector<WebFormControlElement> control_elements;
|
|
|
|
|