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

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

Issue 939883002: Service Worker: Expand path restriction error message to instruct how to fix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/service_worker_utils.cc
diff --git a/content/browser/service_worker/service_worker_utils.cc b/content/browser/service_worker/service_worker_utils.cc
index d37bb227f767d00e549775542690c4b43cd149bd..cfb44711cd460925c721ae95c4760e7ef9eb902a 100644
--- a/content/browser/service_worker/service_worker_utils.cc
+++ b/content/browser/service_worker/service_worker_utils.cc
@@ -77,7 +77,9 @@ bool ServiceWorkerUtils::IsPathRestrictionSatisfied(
error_message->append("set by Service-Worker-Allowed: ");
error_message->append("'");
error_message->append(max_scope_string);
- error_message->append("').");
+ error_message->append(
+ "'). Adjust the scope, move the Service Worker "
+ "script, or use Service-Worker-Allowed to allow the scope.");
kinuko 2015/02/19 03:29:28 nit: Service-Worker-Allowed -> 'Service-Worker-All
return false;
}
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698