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

Unified Diff: webkit/common/database/database_identifier_unittest.cc

Issue 16879013: Use chromium logic for database identifier<->origin conversions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove webkit/base/origin_url_conversions Created 7 years, 6 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 | « webkit/common/database/database_identifier.cc ('k') | webkit/common/fileapi/file_system_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/database/database_identifier_unittest.cc
diff --git a/webkit/common/database/database_identifier_unittest.cc b/webkit/common/database/database_identifier_unittest.cc
index 141f7a6b744b5a63712021ff0c2d570723f50262..e0cd675e590c808d0143473316f68706a63127a4 100644
--- a/webkit/common/database/database_identifier_unittest.cc
+++ b/webkit/common/database/database_identifier_unittest.cc
@@ -188,7 +188,7 @@ TEST(DatabaseIdentifierTest, ExtractOriginDataFromIdentifier) {
"http", "nondefaultport.net", 8001,
GURL("http://nondefaultport.net:8001"), false},
{"file__0",
- "", "", 0, GURL(), true},
+ "", "", 0, GURL("file:///"), true},
{"__0",
"", "", 0, GURL(), true},
{"http_foo_bar_baz.org_0",
@@ -226,6 +226,7 @@ TEST(DatabaseIdentifierTest, ExtractOriginDataFromIdentifier) {
"HtTp_NonCanonicalRepresenTation_0",
"http_non_ascii.\xa1.com_0",
"http_not_canonical_escape%3d_0",
+ "http_bytes_after_port_0abcd",
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(bogus_components); ++i) {
« no previous file with comments | « webkit/common/database/database_identifier.cc ('k') | webkit/common/fileapi/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698