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

Unified Diff: content/browser/service_worker/service_worker_registration_unittest.cc

Issue 435873002: ServiceWorker: Remove wildcard from scope matching (Chromium) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment Created 6 years, 4 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
Index: content/browser/service_worker/service_worker_registration_unittest.cc
diff --git a/content/browser/service_worker/service_worker_registration_unittest.cc b/content/browser/service_worker/service_worker_registration_unittest.cc
index 1a52adcd585780974487029f83d1fc5dbc1bec00..55d8a31842aaa0ed027637a1fdcfe71d246bd688 100644
--- a/content/browser/service_worker/service_worker_registration_unittest.cc
+++ b/content/browser/service_worker/service_worker_registration_unittest.cc
@@ -70,7 +70,7 @@ class ServiceWorkerRegistrationTest : public testing::Test {
};
TEST_F(ServiceWorkerRegistrationTest, SetAndUnsetVersions) {
- const GURL kScope("http://www.example.not/*");
+ const GURL kScope("http://www.example.not/");
const GURL kScript("http://www.example.not/service_worker.js");
int64 kRegistrationId = 1L;
scoped_refptr<ServiceWorkerRegistration> registration =

Powered by Google App Engine
This is Rietveld 408576698