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

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

Issue 430003: Revert change that disallowed content scripts access to file:// (Closed)
Patch Set: Can't go back, only through 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
diff --git a/chrome/test/data/extensions/good/Preferences b/chrome/test/data/extensions/good/Preferences
index 85bdee3faad974f7692366814cb103a3ada38723..42a2713493178878fabe43864c7378914ebdf327 100644
--- a/chrome/test/data/extensions/good/Preferences
+++ b/chrome/test/data/extensions/good/Preferences
@@ -26,7 +26,7 @@
"permissions": ["tabs", "http://*.google.com/*", "https://*.google.com/*"],
"content_scripts": [
{
- "matches": ["http://*.google.com/*", "https://*.google.com/*", "http://localhost/*"],
+ "matches": ["file://*", "http://*.google.com/*", "https://*.google.com/*"],
"js": ["script1.js", "script2.js"],
"css": ["style1.css", "style2.css", "style2.css"]
},
@@ -50,7 +50,7 @@
"permissions": ["tabs"],
"content_scripts": [
{
- "matches": ["http://localhost/*"],
+ "matches": ["file://*"],
"js": ["page.js"]
}
]

Powered by Google App Engine
This is Rietveld 408576698