webext-schema 5.2.10 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/modules/browser.js +38 -0
- package/package.json +10 -10
- package/schemas/beta/webext.json +16 -3
- package/schemas/central/webext.json +203 -6
- package/schemas/mail/mailext.json +643 -92
- package/schemas/release/webext.json +16 -3
- package/types/modules/browser.d.ts +1 -0
|
@@ -915,6 +915,12 @@
|
|
|
915
915
|
{
|
|
916
916
|
"name": "command",
|
|
917
917
|
"type": "string"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"name": "tab",
|
|
921
|
+
"$ref": "tags.Tab",
|
|
922
|
+
"optional": true,
|
|
923
|
+
"description": "Details of the $(ref:tabs.Tab) where the command was activated."
|
|
918
924
|
}
|
|
919
925
|
]
|
|
920
926
|
},
|
|
@@ -5613,9 +5619,10 @@
|
|
|
5613
5619
|
{
|
|
5614
5620
|
"name": "captureVisibleTab",
|
|
5615
5621
|
"type": "function",
|
|
5616
|
-
"description": "Captures an area of the currently active tab in the specified window. You must have
|
|
5622
|
+
"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.",
|
|
5617
5623
|
"permissions": [
|
|
5618
|
-
"<all_urls>"
|
|
5624
|
+
"<all_urls>",
|
|
5625
|
+
"activeTab"
|
|
5619
5626
|
],
|
|
5620
5627
|
"async": "callback",
|
|
5621
5628
|
"parameters": [
|
|
@@ -13476,6 +13483,11 @@
|
|
|
13476
13483
|
],
|
|
13477
13484
|
"optional": true
|
|
13478
13485
|
},
|
|
13486
|
+
"options_page": {
|
|
13487
|
+
"$ref": "ExtensionURL",
|
|
13488
|
+
"optional": true,
|
|
13489
|
+
"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."
|
|
13490
|
+
},
|
|
13479
13491
|
"options_ui": {
|
|
13480
13492
|
"type": "object",
|
|
13481
13493
|
"optional": true,
|
|
@@ -19710,6 +19722,7 @@
|
|
|
19710
19722
|
"type": "string",
|
|
19711
19723
|
"enum": [
|
|
19712
19724
|
"webRequest",
|
|
19725
|
+
"webRequestAuthProvider",
|
|
19713
19726
|
"webRequestBlocking",
|
|
19714
19727
|
"webRequestFilterResponse",
|
|
19715
19728
|
"webRequestFilterResponse.serviceWorkerScript"
|
|
@@ -19800,7 +19813,7 @@
|
|
|
19800
19813
|
"blocking",
|
|
19801
19814
|
"asyncBlocking"
|
|
19802
19815
|
],
|
|
19803
|
-
"postprocess": "
|
|
19816
|
+
"postprocess": "webRequestBlockingOrAuthProviderPermissionRequired"
|
|
19804
19817
|
},
|
|
19805
19818
|
{
|
|
19806
19819
|
"id": "OnResponseStartedOptions",
|
|
@@ -50,6 +50,7 @@ export function reloadTab(tabId: number, opt: object): Promise<void>;
|
|
|
50
50
|
export function removeTab(arg: number | any[]): Promise<void>;
|
|
51
51
|
export function updateTab(tabId: number, opt: object): Promise<object>;
|
|
52
52
|
export function warmupTab(tabId: number): Promise<void>;
|
|
53
|
+
export function captureVisibleTab(windowId: number, opt: object): Promise<string | null>;
|
|
53
54
|
export function isTab(tabId: any): Promise<boolean>;
|
|
54
55
|
export function getCurrentTheme(windowId?: number): Promise<object>;
|
|
55
56
|
export function createNewWindow(opt: object): Promise<object>;
|