Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: templates/manifest.json.tmpl

Issue 29496582: Issue 5448 - Add content_security_policy to the manifest.json for Chrome-extensions (Closed)
Patch Set: Created July 24, 2017, 12:21 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: templates/manifest.json.tmpl
diff --git a/templates/manifest.json.tmpl b/templates/manifest.json.tmpl
index 8df2148f5aa16931bab9c48b8197f243855f3f0f..66d5d9cd46c764b01bc8e6cfaa12c2b932da9085 100644
--- a/templates/manifest.json.tmpl
+++ b/templates/manifest.json.tmpl
@@ -117,5 +117,9 @@
},
{%- endif %}
+ {%- if metadata.has_option('general', 'content_security_policy') %}
kzar 2017/07/24 13:19:16 Looking at the other options it seems the conventi
tlucas 2017/07/24 13:50:44 Done.
+ "content_security_policy": {{metadata.get('general', 'content_security_policy')|json}},
+ {%- endif %}
+
"_dummy": false
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld