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

Unified Diff: chrome/common/extensions/extension_constants.cc

Issue 402029: Don't allow content scripts to execute on file:// urls.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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: chrome/common/extensions/extension_constants.cc
===================================================================
--- chrome/common/extensions/extension_constants.cc (revision 32232)
+++ chrome/common/extensions/extension_constants.cc (working copy)
@@ -91,6 +91,8 @@
"Invalid value for 'content_scripts[*].js[*]'.";
const char* kInvalidJsList =
"Required value 'content_scripts[*].js is invalid.";
+const char* kInvalidJsMatches =
+ "Content scripts can not be executed on file:// urls.";
const char* kInvalidKey =
"Value 'key' is missing or invalid.";
const char* kInvalidManifest =
« no previous file with comments | « chrome/common/extensions/extension_constants.h ('k') | chrome/test/data/extensions/api_test/stubs/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698