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

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

Issue 8309001: Adding `content_security_policy` to a few sample extensions. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: pageAction/pageaction_by_url Created 9 years, 2 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/extensions/news_a11y/manifest.json
diff --git a/chrome/common/extensions/docs/examples/extensions/news_a11y/manifest.json b/chrome/common/extensions/docs/examples/extensions/news_a11y/manifest.json
index f0c7e0e5a7761ed48945e2231de40aa1ad34ba7c..3ebfa7d0d059c32e175cb3d837198d1426f543c6 100644
--- a/chrome/common/extensions/docs/examples/extensions/news_a11y/manifest.json
+++ b/chrome/common/extensions/docs/examples/extensions/news_a11y/manifest.json
@@ -11,5 +11,6 @@
"permissions": [
"tabs",
"http://news.google.com/*"
- ]
+ ],
+ "content_security_policy": "img-src 'self' http://* https://*; script-src 'self'; connect-src http://news.google.com; frame-src data:"
}

Powered by Google App Engine
This is Rietveld 408576698