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

Unified Diff: url/url_canon_unittest.cc

Issue 23460053: Allow tail to not be trimmed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 months 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 | « url/url_canon_relative.cc ('k') | url/url_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url_canon_unittest.cc
diff --git a/url/url_canon_unittest.cc b/url/url_canon_unittest.cc
index 259cf1830edc08187e78b1b6faa6b15975e3e2f0..d020e481258618d1d79e35d62e5f356594eacca4 100644
--- a/url/url_canon_unittest.cc
+++ b/url/url_canon_unittest.cc
@@ -1700,6 +1700,7 @@ TEST(URLCanonTest, CanonicalizePathURL) {
{"javascript:", "javascript:"},
{"JavaScript:Foo", "javascript:Foo"},
{":\":This /is interesting;?#", ":\":This /is interesting;?#"},
+ {"data:text/html, one ? two # ", "data:text/html, one ? two #"},
};
for (size_t i = 0; i < ARRAYSIZE(path_cases); i++) {
« no previous file with comments | « url/url_canon_relative.cc ('k') | url/url_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698