fix: Add missing management.setEnabled

setEnabled is partially implemented in Firefox:
- https://bugzil.la/1282982
- https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/management/setEnabled

The management API has many more methods in Chrome,
Firefox does not support them:
- createAppShortcut
- generateAppForLink
- getPermissionWarningsById
- getPermissionWarningsByManifest
- launchApp
- setLaunchType
- uninstall
This commit is contained in:
Rob Wu 2018-06-05 15:50:17 +02:00 committed by Luca Greco
parent 28377724ca
commit e2754582c7
1 changed files with 4 additions and 0 deletions

View File

@ -333,6 +333,10 @@
"minArgs": 0,
"maxArgs": 0
},
"setEnabled": {
"minArgs": 2,
"maxArgs": 2
},
"uninstallSelf": {
"minArgs": 0,
"maxArgs": 1