fix: Remove non-existing pageAction.getIcon

- Alphabetically sort keys
- Remove non-existing pageAction.getIcon
  (neither Firefox nor Chrome support this method).
This commit is contained in:
Rob Wu 2018-06-05 15:55:30 +02:00 committed by Luca Greco
parent e2754582c7
commit a3cb260c8e
1 changed files with 8 additions and 12 deletions

View File

@ -369,20 +369,10 @@
"minArgs": 1, "minArgs": 1,
"maxArgs": 1 "maxArgs": 1
}, },
"setPopup": {
"minArgs": 1,
"maxArgs": 1,
"fallbackToNoCallback": true
},
"getTitle": { "getTitle": {
"minArgs": 1, "minArgs": 1,
"maxArgs": 1 "maxArgs": 1
}, },
"setTitle": {
"minArgs": 1,
"maxArgs": 1,
"fallbackToNoCallback": true
},
"hide": { "hide": {
"minArgs": 1, "minArgs": 1,
"maxArgs": 1, "maxArgs": 1,
@ -392,9 +382,15 @@
"minArgs": 1, "minArgs": 1,
"maxArgs": 1 "maxArgs": 1
}, },
"getIcon": { "setPopup": {
"minArgs": 1, "minArgs": 1,
"maxArgs": 1 "maxArgs": 1,
"fallbackToNoCallback": true
},
"setTitle": {
"minArgs": 1,
"maxArgs": 1,
"fallbackToNoCallback": true
}, },
"show": { "show": {
"minArgs": 1, "minArgs": 1,