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

Unified Diff: components/omnibox/browser/autocomplete_input_unittest.cc

Issue 2397873002: Reject some previuosly-escaped chars in hostnames.
Patch Set: Some tests fixed Created 4 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
Index: components/omnibox/browser/autocomplete_input_unittest.cc
diff --git a/components/omnibox/browser/autocomplete_input_unittest.cc b/components/omnibox/browser/autocomplete_input_unittest.cc
index 9a632d593e58b7ea01952199a439412bbc6b69c7..b315529ef464ebacd98727e858722fd01f706cbd 100644
--- a/components/omnibox/browser/autocomplete_input_unittest.cc
+++ b/components/omnibox/browser/autocomplete_input_unittest.cc
@@ -50,7 +50,7 @@ TEST(AutocompleteInputTest, InputType) {
{ ASCIIToUTF16("foo bar.com"), metrics::OmniboxInputType::QUERY },
{ ASCIIToUTF16("foo bar"), metrics::OmniboxInputType::QUERY },
{ ASCIIToUTF16("foo+bar"), metrics::OmniboxInputType::QUERY },
- { ASCIIToUTF16("foo+bar.com"), metrics::OmniboxInputType::UNKNOWN },
+ { ASCIIToUTF16("foo+bar.com"), metrics::OmniboxInputType::QUERY },
{ ASCIIToUTF16("\"foo:bar\""), metrics::OmniboxInputType::QUERY },
{ ASCIIToUTF16("link:foo.com"), metrics::OmniboxInputType::UNKNOWN },
{ ASCIIToUTF16("foo:81"), metrics::OmniboxInputType::URL },
« no previous file with comments | « chrome/test/data/extensions/api_test/cookies/api/tab.js ('k') | components/omnibox/browser/history_url_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698