Browse files

Add 'permissions' to allowed keys.

SDK 1.14 will add a 'permissions' key to package.json, initially used only for allowing addons to opt-in to running in private browsing windows, with other potential uses in the future. This commit adds support for the key so developers don't get errors when trying to add the key to their addons.
  • Loading branch information...
1 parent 0477136 commit 350f400829fea7990acfab865108f8fa97282290 @KWierso KWierso committed Mar 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 apps/jetpack/
@@ -793,7 +793,7 @@ def set_version(self, version_name, current=True):
def validate_extra_json(extra_json):
allowed_keys = ('contributors', 'homepage', 'icon', 'icon64', 'id',
- 'preferences', 'license')
+ 'preferences', 'license', 'permissions')
for key in extra_json.keys():
if key not in allowed_keys:
raise KeyNotAllowed(allowed_keys)

0 comments on commit 350f400

Please sign in to comment.