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

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

Issue 8311007: Adding `content_security_policy` to the "Mappy" sample. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 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/mappy/manifest.json
diff --git a/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json b/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json
index 9c3858e049db8644fe2722597a399bddb9e51356..971e4e8a0d601cca096b6847ccc714123f5f0cf7 100644
--- a/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json
+++ b/chrome/common/extensions/docs/examples/extensions/mappy/manifest.json
@@ -9,11 +9,13 @@
],
"permissions": [
"tabs",
- "http://maps.google.com/*"
+ "https://maps.google.com/*",
+ "https://maps.googleapis.com/*"
],
"page_action": {
"default_name": "Display Map",
"default_icon": "marker.png",
"popup": "popup.html"
- }
+ },
+ "content_security_policy": "script-src 'self'; connect-src https://maps.googleapis.com; img-src https://maps.google.com"
abarth-chromium 2011/10/16 19:48:16 Please add an object-src directive (ideally with '
Mike West 2011/10/16 21:14:57 Makes sense. Would adding a `default-src` directi
}

Powered by Google App Engine
This is Rietveld 408576698