| Index: content/common/service_worker/service_worker_utils_unittest.cc
|
| diff --git a/content/common/service_worker/service_worker_utils_unittest.cc b/content/common/service_worker/service_worker_utils_unittest.cc
|
| index f8ab571682dc28df417d44ccb42926f24627b428..393c36ce158846919e5ad822c7ed2e37d65f50f6 100644
|
| --- a/content/common/service_worker/service_worker_utils_unittest.cc
|
| +++ b/content/common/service_worker/service_worker_utils_unittest.cc
|
| @@ -38,6 +38,8 @@ TEST(ServiceWorkerUtilsTest, ScopeMatches) {
|
| ASSERT_FALSE(ServiceWorkerUtils::ScopeMatches(
|
| GURL("http://www.example.com/"),
|
| GURL("https://www.example.com/page.html")));
|
| + ASSERT_TRUE(ServiceWorkerUtils::ScopeMatches(
|
| + GURL("http://www.example.com/"), GURL("http://www.example.com/#a")));
|
|
|
| ASSERT_FALSE(ServiceWorkerUtils::ScopeMatches(GURL("http://www.example.com/"),
|
| GURL("http://www.foo.com/")));
|
|
|