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

Unified Diff: chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json

Issue 7633017: Adding content_security_policy to sample extensions when relevant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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: chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json
diff --git a/chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json b/chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json
index 982441479fc7d050223ef4d8087af1c9b8a14a7e..0e425a59cc0e71138c22d03076d0d637229bbce6 100644
--- a/chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json
+++ b/chrome/common/extensions/docs/examples/howto/contentscript_xhr/manifest.json
@@ -14,5 +14,6 @@
"matches": ["http://news.google.com/*"],
"js" : ["contentscript.js"]
}
- ]
+ ],
+ "content_security_policy": "default-src 'self' https://api.twitter.com http://news.google.com"
}

Powered by Google App Engine
This is Rietveld 408576698