feat: Add sessions namespace to metadata

https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/sessions#Browser_compatibility

Only `sessions.getRecentlyClosed` and `sessions.restore` are currently
supported by Firefox.

`sessions.getDevices` is included anyway since this method may be added
to Firefox in the future: https://bugzil.la/1308059
This commit is contained in:
Rob Wu 2018-06-05 16:46:40 +02:00 committed by Luca Greco
parent f086bc15ac
commit 69e58761a5
1 changed files with 14 additions and 0 deletions

View File

@ -422,6 +422,20 @@
"maxArgs": 1
}
},
"sessions": {
"getDevices": {
"minArgs": 0,
"maxArgs": 1
},
"getRecentlyClosed": {
"minArgs": 0,
"maxArgs": 1
},
"restore": {
"minArgs": 0,
"maxArgs": 1
}
},
"storage": {
"local": {
"clear": {