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

Delta Between Two Patch Sets: templates/manifest.json.tmpl

Issue 29496582: Issue 5448 - Add content_security_policy to the manifest.json for Chrome-extensions (Closed)
Left Patch Set: Created July 24, 2017, 12:21 p.m.
Right Patch Set: Created July 24, 2017, 1:48 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 4
5 { 5 {
6 "manifest_version": 2, 6 "manifest_version": 2,
7 {%- if releaseBuild %} 7 {%- if releaseBuild %}
8 "name": "__MSG_name__", 8 "name": "__MSG_name__",
9 {%- else %} 9 {%- else %}
10 "name": "__MSG_name_devbuild__", 10 "name": "__MSG_name_devbuild__",
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 {%- if webAccessible %} 110 {%- if webAccessible %}
111 "web_accessible_resources": {{webAccessible|json}}, 111 "web_accessible_resources": {{webAccessible|json}},
112 {%- endif %} 112 {%- endif %}
113 113
114 {%- if metadata.has_option('general', 'managedStorageSchema') %} 114 {%- if metadata.has_option('general', 'managedStorageSchema') %}
115 "storage": { 115 "storage": {
116 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}} 116 "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}}
117 }, 117 },
118 {%- endif %} 118 {%- endif %}
119 119
120 {%- if metadata.has_option('general', 'content_security_policy') %} 120 {%- if metadata.has_option('general', 'contentSecurityPolicy') %}
kzar 2017/07/24 13:19:16 Looking at the other options it seems the conventi
tlucas 2017/07/24 13:50:44 Done.
121 "content_security_policy": {{metadata.get('general', 'content_security_policy' )|json}}, 121 "content_security_policy": {{metadata.get('general', 'contentSecurityPolicy')| json}},
122 {%- endif %} 122 {%- endif %}
123 123
124 "_dummy": false 124 "_dummy": false
125 } 125 }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld