diff options
Diffstat (limited to 'content/browser/site_instance_impl_unittest.cc')
-rw-r--r-- | content/browser/site_instance_impl_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/browser/site_instance_impl_unittest.cc b/content/browser/site_instance_impl_unittest.cc index 37ab73a..fa4ea57 100644 --- a/content/browser/site_instance_impl_unittest.cc +++ b/content/browser/site_instance_impl_unittest.cc @@ -371,6 +371,9 @@ TEST_F(SiteInstanceTest, GetSiteForURL) { test_url = GURL("file:///C:/Downloads/"); EXPECT_EQ(GURL(), SiteInstanceImpl::GetSiteForURL(NULL, test_url)); + test_url = GURL("guest://abc123"); + EXPECT_EQ(GURL("guest://abc123"), SiteInstanceImpl::GetSiteForURL( + NULL, test_url)); // TODO(creis): Do we want to special case file URLs to ensure they have // either no site or a special "file://" site? We currently return // "file://home/" as the site, which seems broken. |