Skip to content

Commit

Permalink
feat: Imported Firefox 126 API schema data (#5281)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpl authored May 10, 2024
1 parent a959bc0 commit 9cd5a35
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
12 changes: 12 additions & 0 deletions src/schema/imported/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
{
"name": "command",
"type": "string"
},
{
"allOf": [
{
"$ref": "tags#/types/Tab"
},
{
"name": "tab",
"optional": true,
"description": "Details of the $(ref:tabs.Tab) where the command was activated."
}
]
}
]
},
Expand Down
10 changes: 10 additions & 0 deletions src/schema/imported/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,16 @@
}
]
},
"options_page": {
"allOf": [
{
"$ref": "manifest#/types/ExtensionURL"
},
{
"description": "Alias property for options_ui.page, ignored when options_ui.page is set. When using this property the options page is always opened in a new tab."
}
]
},
"options_ui": {
"type": "object",
"properties": {
Expand Down
5 changes: 3 additions & 2 deletions src/schema/imported/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -809,9 +809,10 @@
{
"name": "captureVisibleTab",
"type": "function",
"description": "Captures an area of the currently active tab in the specified window. You must have $(topic:declare_permissions)[<all_urls>] permission to use this method.",
"description": "Captures an area of the currently active tab in the specified window. You must have <all_urls> or activeTab permission to use this method.",
"permissions": [
"<all_urls>"
"<all_urls>",
"activeTab"
],
"async": "callback",
"parameters": [
Expand Down
3 changes: 2 additions & 1 deletion src/schema/imported/web_request.json
Original file line number Diff line number Diff line change
Expand Up @@ -1386,6 +1386,7 @@
"type": "string",
"enum": [
"webRequest",
"webRequestAuthProvider",
"webRequestBlocking",
"webRequestFilterResponse",
"webRequestFilterResponse.serviceWorkerScript"
Expand Down Expand Up @@ -1463,7 +1464,7 @@
"blocking",
"asyncBlocking"
],
"postprocess": "webRequestBlockingPermissionRequired"
"postprocess": "webRequestBlockingOrAuthProviderPermissionRequired"
},
"OnResponseStartedOptions": {
"type": "string",
Expand Down

0 comments on commit 9cd5a35

Please sign in to comment.