Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: chrome/browser/autofill/autofill_server_browsertest.cc

Issue 1477733003: Replace xmllite with libxml in autofill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@556433_remove_dead_code
Patch Set: Just rebased Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/autofill.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_server_browsertest.cc
diff --git a/chrome/browser/autofill/autofill_server_browsertest.cc b/chrome/browser/autofill/autofill_server_browsertest.cc
index 18498d182ae240227e5b016d4f2651fb17bafa68..b5b281658710b8b6787ab032c4b155708af6c11c 100644
--- a/chrome/browser/autofill/autofill_server_browsertest.cc
+++ b/chrome/browser/autofill/autofill_server_browsertest.cc
@@ -149,14 +149,14 @@ IN_PROC_BROWSER_TEST_F(AutofillServerTest,
" };"
"</script>";
const char kQueryRequest[] =
- "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ "<?xml version=\"1.0\"?>\n"
"<autofillquery clientversion=\"6.1.1715.1442/en (GGLL)\">"
"<form signature=\"15916856893790176210\">"
"<field signature=\"2594484045\" name=\"one\" type=\"text\"/>"
"<field signature=\"2750915947\" name=\"two\" type=\"text\"/>"
"<field signature=\"3494787134\" name=\"three\" type=\"text\"/>"
"<field signature=\"1236501728\" name=\"four\" type=\"text\"/></form>"
- "</autofillquery>";
+ "</autofillquery>\n";
WindowedNetworkObserver query_network_observer(Compress(kQueryRequest));
ui_test_utils::NavigateToURL(
browser(), GURL(std::string(kDataURIPrefix) + kFormHtml));
@@ -166,7 +166,7 @@ IN_PROC_BROWSER_TEST_F(AutofillServerTest,
// triggered by user gestures are ignored. Expect an upload request upon form
// submission, with form fields matching those from the query request.
const char kUploadRequest[] =
- "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ "<?xml version=\"1.0\"?>\n"
"<autofillupload clientversion=\"6.1.1715.1442/en (GGLL)\""
" formsignature=\"15916856893790176210\""
" autofillused=\"false\""
@@ -180,7 +180,7 @@ IN_PROC_BROWSER_TEST_F(AutofillServerTest,
" autofilltype=\"2\"/>"
"<field signature=\"1236501728\" name=\"four\" type=\"text\""
" autocomplete=\"off\" autofilltype=\"2\"/>"
- "</autofillupload>";
+ "</autofillupload>\n";
WindowedNetworkObserver upload_network_observer(Compress(kUploadRequest));
content::WebContents* web_contents =
@@ -204,13 +204,13 @@ IN_PROC_BROWSER_TEST_F(AutofillServerTest,
" <input type='submit'>"
"</form>";
const char kQueryRequest[] =
- "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ "<?xml version=\"1.0\"?>\n"
"<autofillquery clientversion=\"6.1.1715.1442/en (GGLL)\">"
"<form signature=\"8900697631820480876\">"
"<field signature=\"2594484045\" name=\"one\" type=\"text\"/>"
"<field signature=\"2750915947\" name=\"two\" type=\"text\"/>"
"<field signature=\"116843943\" name=\"three\" type=\"password\"/>"
- "</form></autofillquery>";
+ "</form></autofillquery>\n";
WindowedNetworkObserver query_network_observer(Compress(kQueryRequest));
ui_test_utils::NavigateToURL(
browser(), GURL(std::string(kDataURIPrefix) + kFormHtml));
« no previous file with comments | « no previous file | components/autofill.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698