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

Unified Diff: chrome/test/data/extensions/good/Preferences

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/test/data/extensions/good/Preferences
===================================================================
--- chrome/test/data/extensions/good/Preferences (revision 32232)
+++ chrome/test/data/extensions/good/Preferences (working copy)
@@ -26,7 +26,7 @@
"permissions": ["tabs", "http://*.google.com/*", "https://*.google.com/*"],
"content_scripts": [
{
- "matches": ["file://*", "http://*.google.com/*", "https://*.google.com/*"],
+ "matches": ["http://*.google.com/*", "https://*.google.com/*", "http://localhost/*"],
"js": ["script1.js", "script2.js"],
"css": ["style1.css", "style2.css", "style2.css"]
},
@@ -50,7 +50,7 @@
"permissions": ["tabs"],
"content_scripts": [
{
- "matches": ["file://*"],
+ "matches": ["http://localhost/*"],
"js": ["page.js"]
}
]

Powered by Google App Engine
This is Rietveld 408576698