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

Unified Diff: Source/modules/serviceworkers/RegistrationOptionList.h

Issue 340763002: Fix serviceworker default registration scope. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
Index: Source/modules/serviceworkers/RegistrationOptionList.h
diff --git a/Source/modules/serviceworkers/RegistrationOptionList.h b/Source/modules/serviceworkers/RegistrationOptionList.h
index 06e7ac547455565fde3012a05024bb17b1a02601..ec79a02345b3635da650d6b10784647af8ec231c 100644
--- a/Source/modules/serviceworkers/RegistrationOptionList.h
+++ b/Source/modules/serviceworkers/RegistrationOptionList.h
@@ -11,7 +11,7 @@ namespace WebCore {
struct RegistrationOptionList {
explicit RegistrationOptionList(const Dictionary& options)
- : scope("*")
+ : scope("/*")
{
options.get("scope", scope);
}

Powered by Google App Engine
This is Rietveld 408576698