| Index: content/browser/service_worker/service_worker_provider_host_unittest.cc
|
| diff --git a/content/browser/service_worker/service_worker_provider_host_unittest.cc b/content/browser/service_worker/service_worker_provider_host_unittest.cc
|
| index 8e27bfcaf4544db3a685ee097176f3bb82f13862..e7bb590b09e6e847b4d6314a199a3b4795f7096e 100644
|
| --- a/content/browser/service_worker/service_worker_provider_host_unittest.cc
|
| +++ b/content/browser/service_worker/service_worker_provider_host_unittest.cc
|
| @@ -32,7 +32,7 @@ class ServiceWorkerProviderHostTest : public testing::Test {
|
| NULL,
|
| NULL));
|
|
|
| - scope_ = GURL("http://www.example.com/*");
|
| + scope_ = GURL("http://www.example.com/");
|
| script_url_ = GURL("http://www.example.com/service_worker.js");
|
| registration_ = new ServiceWorkerRegistration(
|
| scope_, script_url_, 1L, context_->AsWeakPtr());
|
| @@ -203,7 +203,7 @@ class ServiceWorkerProviderHostWaitingVersionTest : public testing::Test {
|
|
|
| TEST_F(ServiceWorkerProviderHostWaitingVersionTest,
|
| AssociateInstallingVersionToDocuments) {
|
| - const GURL scope1("http://www.example.com/*");
|
| + const GURL scope1("http://www.example.com/");
|
| const GURL script_url1("http://www.example.com/service_worker1.js");
|
| scoped_refptr<ServiceWorkerRegistration> registration1(
|
| new ServiceWorkerRegistration(
|
| @@ -247,7 +247,7 @@ TEST_F(ServiceWorkerProviderHostWaitingVersionTest,
|
|
|
| TEST_F(ServiceWorkerProviderHostWaitingVersionTest,
|
| DisassociateVersionFromDocuments) {
|
| - const GURL scope1("http://www.example.com/*");
|
| + const GURL scope1("http://www.example.com/");
|
| const GURL script_url1("http://www.example.com/service_worker.js");
|
| scoped_refptr<ServiceWorkerRegistration> registration1(
|
| new ServiceWorkerRegistration(
|
| @@ -255,7 +255,7 @@ TEST_F(ServiceWorkerProviderHostWaitingVersionTest,
|
| scoped_refptr<ServiceWorkerVersion> version1(
|
| new ServiceWorkerVersion(registration1, 1L, context_->AsWeakPtr()));
|
|
|
| - const GURL scope2("http://www.example.ca/*");
|
| + const GURL scope2("http://www.example.ca/");
|
| const GURL script_url2("http://www.example.ca/service_worker.js");
|
| scoped_refptr<ServiceWorkerRegistration> registration2(
|
| new ServiceWorkerRegistration(
|
|
|