Skip to content

Commit

Permalink
feat: Add sessions namespace to metadata
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Rob--W authored and rpl committed Jun 15, 2018
1 parent f086bc1 commit 69e5876
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions api-metadata.json
Expand Up @@ -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": {
Expand Down

0 comments on commit 69e5876

Please sign in to comment.