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

Unified Diff: chrome/common/extensions/docs/examples/api/notifications/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: License and whitespace. 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/api/notifications/manifest.json
diff --git a/chrome/common/extensions/docs/examples/api/notifications/manifest.json b/chrome/common/extensions/docs/examples/api/notifications/manifest.json
index dfc0d1509033a90becd18e559226478b12d15ed6..f1beff9b6a16030c693c28ca5a410bc7c0a4ffa4 100644
--- a/chrome/common/extensions/docs/examples/api/notifications/manifest.json
+++ b/chrome/common/extensions/docs/examples/api/notifications/manifest.json
@@ -6,5 +6,6 @@
"icons": {"16": "16.png", "48": "48.png", "128": "128.png"},
"permissions": ["tabs", "notifications"],
"options_page": "options.html",
- "background_page": "background.html"
+ "background_page": "background.html",
+ "content_security_policy": "script-src 'self'; img-src 'self'"
}

Powered by Google App Engine
This is Rietveld 408576698