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:
parent
28377724ca
commit
e2754582c7
|
@ -333,6 +333,10 @@
|
||||||
"minArgs": 0,
|
"minArgs": 0,
|
||||||
"maxArgs": 0
|
"maxArgs": 0
|
||||||
},
|
},
|
||||||
|
"setEnabled": {
|
||||||
|
"minArgs": 2,
|
||||||
|
"maxArgs": 2
|
||||||
|
},
|
||||||
"uninstallSelf": {
|
"uninstallSelf": {
|
||||||
"minArgs": 0,
|
"minArgs": 0,
|
||||||
"maxArgs": 1
|
"maxArgs": 1
|
||||||
|
|
Loading…
Reference in New Issue