Chromium Code Reviews

Unified Diff: components/autofill/core/browser/autocomplete_history_manager_unittest.cc

Issue 365783002: Autofill: don't require POST method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove method_ member Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: components/autofill/core/browser/autocomplete_history_manager_unittest.cc
diff --git a/components/autofill/core/browser/autocomplete_history_manager_unittest.cc b/components/autofill/core/browser/autocomplete_history_manager_unittest.cc
index 3ac46b61bb6e0d7a14ff8809177748e3c0909156..5245a8eb2e11b24fc26cb8998a39a4fac2306bed 100644
--- a/components/autofill/core/browser/autocomplete_history_manager_unittest.cc
+++ b/components/autofill/core/browser/autocomplete_history_manager_unittest.cc
@@ -89,7 +89,6 @@ class AutocompleteHistoryManagerTest : public testing::Test {
TEST_F(AutocompleteHistoryManagerTest, CreditCardNumberValue) {
FormData form;
form.name = ASCIIToUTF16("MyForm");
- form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
form.user_submitted = true;
@@ -112,7 +111,6 @@ TEST_F(AutocompleteHistoryManagerTest, CreditCardNumberValue) {
TEST_F(AutocompleteHistoryManagerTest, NonCreditCardNumberValue) {
FormData form;
form.name = ASCIIToUTF16("MyForm");
- form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
form.user_submitted = true;
@@ -133,7 +131,6 @@ TEST_F(AutocompleteHistoryManagerTest, NonCreditCardNumberValue) {
TEST_F(AutocompleteHistoryManagerTest, SSNValue) {
FormData form;
form.name = ASCIIToUTF16("MyForm");
- form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
form.user_submitted = true;
@@ -153,7 +150,6 @@ TEST_F(AutocompleteHistoryManagerTest, SSNValue) {
TEST_F(AutocompleteHistoryManagerTest, SearchField) {
FormData form;
form.name = ASCIIToUTF16("MyForm");
- form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
form.user_submitted = true;
@@ -237,7 +233,6 @@ TEST_F(AutocompleteHistoryManagerTest, NoAutocompleteSuggestionsForTextarea) {
FormData form;
form.name = ASCIIToUTF16("MyForm");
- form.method = ASCIIToUTF16("POST");
form.origin = GURL("http://myform.com/form.html");
form.action = GURL("http://myform.com/submit.html");
form.user_submitted = true;

Powered by Google App Engine