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

Unified Diff: templates/manifest.json.tmpl

Issue 29743581: Issue 6552 - Support arbitrary manifest values (Closed) Base URL: https://hg.adblockplus.org/buildtools/file/a3db4a1a49e8
Patch Set: Created April 19, 2018, 11:42 a.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
Index: templates/manifest.json.tmpl
diff --git a/templates/manifest.json.tmpl b/templates/manifest.json.tmpl
index e2cf347d08c8b8bdcbff4b73b24f3c2eed281e79..084f30d1b58082875d984493a570f79961720989 100644
--- a/templates/manifest.json.tmpl
+++ b/templates/manifest.json.tmpl
@@ -73,14 +73,6 @@
"icons": {{icons|json}},
{%- endif %}
- {%- if permissions %}
- "permissions": {{permissions|json}},
- {%- endif %}
-
- {%- if optionalPermissions %}
- "optional_permissions": {{optionalPermissions|json}},
- {%- endif %}
-
{%- if backgroundScripts %}
"background": {
"scripts": {{backgroundScripts|json}},
@@ -99,27 +91,9 @@
{%- endif %}
{%- endif %}
- {%- if metadata.has_option('general', 'devtools') %}
- "devtools_page": {{metadata.get('general', 'devtools')|json}},
- {%- endif %}
-
{%- if contentScripts %}
"content_scripts": {{contentScripts|json}},
{%- endif %}
- {%- if webAccessible %}
- "web_accessible_resources": {{webAccessible|json}},
- {%- endif %}
-
- {%- if metadata.has_option('general', 'managedStorageSchema') %}
- "storage": {
- "managed_schema": {{metadata.get('general', 'managedStorageSchema')|json}}
- },
- {%- endif %}
-
- {%- if metadata.has_option('general', 'contentSecurityPolicy') %}
- "content_security_policy": {{metadata.get('general', 'contentSecurityPolicy')|json}},
- {%- endif %}
-
"_dummy": false
}

Powered by Google App Engine
This is Rietveld