Index: components/autofill/browser/form_structure_unittest.cc |
diff --git a/components/autofill/browser/form_structure_unittest.cc b/components/autofill/browser/form_structure_unittest.cc |
index abbe1aa4e03be30768d0c6a1239e00717fef6e6b..2d459c50cc7c97bf738dedf4aca3157b80bf8195 100644 |
--- a/components/autofill/browser/form_structure_unittest.cc |
+++ b/components/autofill/browser/form_structure_unittest.cc |
@@ -2145,6 +2145,12 @@ TEST(FormStructureTest, CheckFormSignature) { |
field.name = ASCIIToUTF16("first"); |
form.fields.push_back(field); |
+ // Password fields shouldn't affect the signature. |
+ field.label = ASCIIToUTF16("Password"); |
+ field.name = ASCIIToUTF16("password"); |
+ field.form_control_type = "password"; |
+ form.fields.push_back(field); |
+ |
form_structure.reset(new FormStructure(form, std::string())); |
EXPECT_EQ(FormStructureTest::Hash64Bit( |