webext-schema 5.1.14 → 5.1.15
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/package.json +6 -6
- package/schemas/beta/webext.json +11 -10
- package/schemas/central/webext.json +11 -10
- package/schemas/mail/mailext.json +254 -21
- package/schemas/release/webext.json +43 -8
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"types": "types/index.d.ts",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@types/firefox-webext-browser": "^111.0.1",
|
|
17
|
-
"@types/node": "^
|
|
17
|
+
"@types/node": "^20.1.1",
|
|
18
18
|
"@types/sinon": "^10.0.14",
|
|
19
19
|
"camelize": "^1.0.1",
|
|
20
20
|
"commander": "^10.0.1",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"c8": "^7.13.0",
|
|
27
27
|
"chai": "^4.3.7",
|
|
28
|
-
"eslint": "^8.
|
|
28
|
+
"eslint": "^8.40.0",
|
|
29
29
|
"eslint-config-standard": "^17.0.0",
|
|
30
30
|
"eslint-plugin-import": "^2.27.5",
|
|
31
|
-
"eslint-plugin-jsdoc": "^
|
|
31
|
+
"eslint-plugin-jsdoc": "^44.0.2",
|
|
32
32
|
"eslint-plugin-node": "^11.1.0",
|
|
33
33
|
"eslint-plugin-promise": "^6.1.1",
|
|
34
|
-
"eslint-plugin-regexp": "^1.
|
|
35
|
-
"eslint-plugin-unicorn": "^
|
|
34
|
+
"eslint-plugin-regexp": "^1.15.0",
|
|
35
|
+
"eslint-plugin-unicorn": "^47.0.0",
|
|
36
36
|
"mocha": "^10.2.0",
|
|
37
37
|
"npm-run-all": "^4.1.5",
|
|
38
38
|
"typescript": "^5.0.4",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"update-mail": "node index update --channel=mail -i",
|
|
57
57
|
"update-release": "node index update --channel=release -i"
|
|
58
58
|
},
|
|
59
|
-
"version": "5.1.
|
|
59
|
+
"version": "5.1.15"
|
|
60
60
|
}
|
package/schemas/beta/webext.json
CHANGED
|
@@ -4029,7 +4029,7 @@
|
|
|
4029
4029
|
"browser_style": {
|
|
4030
4030
|
"type": "boolean",
|
|
4031
4031
|
"optional": true,
|
|
4032
|
-
"
|
|
4032
|
+
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3."
|
|
4033
4033
|
},
|
|
4034
4034
|
"default_panel": {
|
|
4035
4035
|
"type": "string",
|
|
@@ -7652,7 +7652,7 @@
|
|
|
7652
7652
|
"browser_style": {
|
|
7653
7653
|
"type": "boolean",
|
|
7654
7654
|
"optional": true,
|
|
7655
|
-
"
|
|
7655
|
+
"description": "Deprecated in Manifest V3."
|
|
7656
7656
|
},
|
|
7657
7657
|
"default_area": {
|
|
7658
7658
|
"description": "Defines the location the browserAction will appear by default. The default location is navbar.",
|
|
@@ -13684,11 +13684,13 @@
|
|
|
13684
13684
|
"browser_style": {
|
|
13685
13685
|
"type": "boolean",
|
|
13686
13686
|
"optional": true,
|
|
13687
|
-
"
|
|
13687
|
+
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3."
|
|
13688
13688
|
},
|
|
13689
13689
|
"chrome_style": {
|
|
13690
13690
|
"type": "boolean",
|
|
13691
|
-
"optional": true
|
|
13691
|
+
"optional": true,
|
|
13692
|
+
"max_manifest_version": 2,
|
|
13693
|
+
"description": "chrome_style is ignored in Firefox. Its replacement (browser_style) has been deprecated."
|
|
13692
13694
|
},
|
|
13693
13695
|
"open_in_tab": {
|
|
13694
13696
|
"type": "boolean",
|
|
@@ -13696,8 +13698,7 @@
|
|
|
13696
13698
|
}
|
|
13697
13699
|
},
|
|
13698
13700
|
"additionalProperties": {
|
|
13699
|
-
"
|
|
13700
|
-
"deprecated": "An unexpected property was found in the WebExtension manifest"
|
|
13701
|
+
"$ref": "UnrecognizedProperty"
|
|
13701
13702
|
}
|
|
13702
13703
|
},
|
|
13703
13704
|
"content_scripts": {
|
|
@@ -13793,13 +13794,11 @@
|
|
|
13793
13794
|
"min_manifest_version": 3,
|
|
13794
13795
|
"type": "array",
|
|
13795
13796
|
"postprocess": "webAccessibleMatching",
|
|
13796
|
-
"minItems": 1,
|
|
13797
13797
|
"items": {
|
|
13798
13798
|
"type": "object",
|
|
13799
13799
|
"properties": {
|
|
13800
13800
|
"resources": {
|
|
13801
13801
|
"type": "array",
|
|
13802
|
-
"minItems": 1,
|
|
13803
13802
|
"items": {
|
|
13804
13803
|
"type": "string"
|
|
13805
13804
|
}
|
|
@@ -13807,7 +13806,6 @@
|
|
|
13807
13806
|
"matches": {
|
|
13808
13807
|
"optional": true,
|
|
13809
13808
|
"type": "array",
|
|
13810
|
-
"minItems": 1,
|
|
13811
13809
|
"items": {
|
|
13812
13810
|
"$ref": "MatchPattern"
|
|
13813
13811
|
}
|
|
@@ -13829,6 +13827,9 @@
|
|
|
13829
13827
|
]
|
|
13830
13828
|
}
|
|
13831
13829
|
}
|
|
13830
|
+
},
|
|
13831
|
+
"additionalProperties": {
|
|
13832
|
+
"$ref": "UnrecognizedProperty"
|
|
13832
13833
|
}
|
|
13833
13834
|
}
|
|
13834
13835
|
}
|
|
@@ -14958,7 +14959,7 @@
|
|
|
14958
14959
|
"browser_style": {
|
|
14959
14960
|
"type": "boolean",
|
|
14960
14961
|
"optional": true,
|
|
14961
|
-
"
|
|
14962
|
+
"description": "Deprecated in Manifest V3."
|
|
14962
14963
|
},
|
|
14963
14964
|
"show_matches": {
|
|
14964
14965
|
"type": "array",
|
|
@@ -4029,7 +4029,7 @@
|
|
|
4029
4029
|
"browser_style": {
|
|
4030
4030
|
"type": "boolean",
|
|
4031
4031
|
"optional": true,
|
|
4032
|
-
"
|
|
4032
|
+
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3."
|
|
4033
4033
|
},
|
|
4034
4034
|
"default_panel": {
|
|
4035
4035
|
"type": "string",
|
|
@@ -7652,7 +7652,7 @@
|
|
|
7652
7652
|
"browser_style": {
|
|
7653
7653
|
"type": "boolean",
|
|
7654
7654
|
"optional": true,
|
|
7655
|
-
"
|
|
7655
|
+
"description": "Deprecated in Manifest V3."
|
|
7656
7656
|
},
|
|
7657
7657
|
"default_area": {
|
|
7658
7658
|
"description": "Defines the location the browserAction will appear by default. The default location is navbar.",
|
|
@@ -13684,11 +13684,13 @@
|
|
|
13684
13684
|
"browser_style": {
|
|
13685
13685
|
"type": "boolean",
|
|
13686
13686
|
"optional": true,
|
|
13687
|
-
"
|
|
13687
|
+
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3."
|
|
13688
13688
|
},
|
|
13689
13689
|
"chrome_style": {
|
|
13690
13690
|
"type": "boolean",
|
|
13691
|
-
"optional": true
|
|
13691
|
+
"optional": true,
|
|
13692
|
+
"max_manifest_version": 2,
|
|
13693
|
+
"description": "chrome_style is ignored in Firefox. Its replacement (browser_style) has been deprecated."
|
|
13692
13694
|
},
|
|
13693
13695
|
"open_in_tab": {
|
|
13694
13696
|
"type": "boolean",
|
|
@@ -13696,8 +13698,7 @@
|
|
|
13696
13698
|
}
|
|
13697
13699
|
},
|
|
13698
13700
|
"additionalProperties": {
|
|
13699
|
-
"
|
|
13700
|
-
"deprecated": "An unexpected property was found in the WebExtension manifest"
|
|
13701
|
+
"$ref": "UnrecognizedProperty"
|
|
13701
13702
|
}
|
|
13702
13703
|
},
|
|
13703
13704
|
"content_scripts": {
|
|
@@ -13793,13 +13794,11 @@
|
|
|
13793
13794
|
"min_manifest_version": 3,
|
|
13794
13795
|
"type": "array",
|
|
13795
13796
|
"postprocess": "webAccessibleMatching",
|
|
13796
|
-
"minItems": 1,
|
|
13797
13797
|
"items": {
|
|
13798
13798
|
"type": "object",
|
|
13799
13799
|
"properties": {
|
|
13800
13800
|
"resources": {
|
|
13801
13801
|
"type": "array",
|
|
13802
|
-
"minItems": 1,
|
|
13803
13802
|
"items": {
|
|
13804
13803
|
"type": "string"
|
|
13805
13804
|
}
|
|
@@ -13807,7 +13806,6 @@
|
|
|
13807
13806
|
"matches": {
|
|
13808
13807
|
"optional": true,
|
|
13809
13808
|
"type": "array",
|
|
13810
|
-
"minItems": 1,
|
|
13811
13809
|
"items": {
|
|
13812
13810
|
"$ref": "MatchPattern"
|
|
13813
13811
|
}
|
|
@@ -13829,6 +13827,9 @@
|
|
|
13829
13827
|
]
|
|
13830
13828
|
}
|
|
13831
13829
|
}
|
|
13830
|
+
},
|
|
13831
|
+
"additionalProperties": {
|
|
13832
|
+
"$ref": "UnrecognizedProperty"
|
|
13832
13833
|
}
|
|
13833
13834
|
}
|
|
13834
13835
|
}
|
|
@@ -14958,7 +14959,7 @@
|
|
|
14958
14959
|
"browser_style": {
|
|
14959
14960
|
"type": "boolean",
|
|
14960
14961
|
"optional": true,
|
|
14961
|
-
"
|
|
14962
|
+
"description": "Deprecated in Manifest V3."
|
|
14962
14963
|
},
|
|
14963
14964
|
"show_matches": {
|
|
14964
14965
|
"type": "array",
|
|
@@ -8266,6 +8266,8 @@
|
|
|
8266
8266
|
{
|
|
8267
8267
|
"type": "object",
|
|
8268
8268
|
"name": "queryInfo",
|
|
8269
|
+
"optional": true,
|
|
8270
|
+
"default": {},
|
|
8269
8271
|
"properties": {
|
|
8270
8272
|
"active": {
|
|
8271
8273
|
"type": "boolean",
|
|
@@ -9511,8 +9513,15 @@
|
|
|
9511
9513
|
{
|
|
9512
9514
|
"name": "openProperties",
|
|
9513
9515
|
"type": "object",
|
|
9514
|
-
"description": "Settings for opening the message. Exactly one of messageId or
|
|
9516
|
+
"description": "Settings for opening the message. Exactly one of messageId, headerMessageId or file must be specified.",
|
|
9515
9517
|
"properties": {
|
|
9518
|
+
"file": {
|
|
9519
|
+
"type": "object",
|
|
9520
|
+
"optional": true,
|
|
9521
|
+
"isInstanceOf": "File",
|
|
9522
|
+
"additionalProperties": true,
|
|
9523
|
+
"description": "The DOM file object of a message to be opened."
|
|
9524
|
+
},
|
|
9516
9525
|
"messageId": {
|
|
9517
9526
|
"type": "integer",
|
|
9518
9527
|
"optional": true,
|
|
@@ -10833,6 +10842,28 @@
|
|
|
10833
10842
|
}
|
|
10834
10843
|
]
|
|
10835
10844
|
},
|
|
10845
|
+
{
|
|
10846
|
+
"name": "openAttachment",
|
|
10847
|
+
"type": "function",
|
|
10848
|
+
"description": "Opens the specified attachment",
|
|
10849
|
+
"async": true,
|
|
10850
|
+
"parameters": [
|
|
10851
|
+
{
|
|
10852
|
+
"name": "messageId",
|
|
10853
|
+
"type": "integer"
|
|
10854
|
+
},
|
|
10855
|
+
{
|
|
10856
|
+
"name": "partName",
|
|
10857
|
+
"type": "string",
|
|
10858
|
+
"pattern": "^\\d+(\\.\\d+)*$"
|
|
10859
|
+
},
|
|
10860
|
+
{
|
|
10861
|
+
"name": "tabId",
|
|
10862
|
+
"type": "integer",
|
|
10863
|
+
"description": "The ID of the tab associated with the message opening."
|
|
10864
|
+
}
|
|
10865
|
+
]
|
|
10866
|
+
},
|
|
10836
10867
|
{
|
|
10837
10868
|
"name": "query",
|
|
10838
10869
|
"type": "function",
|
|
@@ -10842,6 +10873,8 @@
|
|
|
10842
10873
|
{
|
|
10843
10874
|
"type": "object",
|
|
10844
10875
|
"name": "queryInfo",
|
|
10876
|
+
"optional": true,
|
|
10877
|
+
"default": {},
|
|
10845
10878
|
"properties": {
|
|
10846
10879
|
"attachment": {
|
|
10847
10880
|
"type": "boolean",
|
|
@@ -11192,9 +11225,180 @@
|
|
|
11192
11225
|
]
|
|
11193
11226
|
}
|
|
11194
11227
|
],
|
|
11228
|
+
"spaces.json": [
|
|
11229
|
+
{
|
|
11230
|
+
"namespace": "spaces",
|
|
11231
|
+
"min_manifest_version": 3,
|
|
11232
|
+
"types": [
|
|
11233
|
+
{
|
|
11234
|
+
"id": "SpaceButtonProperties",
|
|
11235
|
+
"type": "object",
|
|
11236
|
+
"properties": {
|
|
11237
|
+
"badgeBackgroundColor": {
|
|
11238
|
+
"choices": [
|
|
11239
|
+
{
|
|
11240
|
+
"type": "string"
|
|
11241
|
+
},
|
|
11242
|
+
{
|
|
11243
|
+
"$ref": "ColorArray"
|
|
11244
|
+
}
|
|
11245
|
+
],
|
|
11246
|
+
"optional": true,
|
|
11247
|
+
"description": "Sets the background color of the badge. Can be specified as an array of four integers in the range [0,255] that make up the RGBA color of the badge. For example, opaque red is <value>[255, 0, 0, 255]</value>. Can also be a string with an HTML color name (<value>red</value>) or a HEX color value (<value>#FF0000</value> or <value>#F00</value>). Reset when set to an empty string."
|
|
11248
|
+
},
|
|
11249
|
+
"badgeText": {
|
|
11250
|
+
"type": "string",
|
|
11251
|
+
"optional": true,
|
|
11252
|
+
"description": "Sets the badge text for the button in the spaces toolbar. The badge is displayed on top of the icon. Any number of characters can be set, but only about four can fit in the space. Removed when set to an empty string."
|
|
11253
|
+
},
|
|
11254
|
+
"defaultIcons": {
|
|
11255
|
+
"choices": [
|
|
11256
|
+
{
|
|
11257
|
+
"type": "string"
|
|
11258
|
+
},
|
|
11259
|
+
{
|
|
11260
|
+
"$ref": "manifest.IconPath"
|
|
11261
|
+
}
|
|
11262
|
+
],
|
|
11263
|
+
"optional": true,
|
|
11264
|
+
"description": "The paths to one or more icons for the button in the spaces toolbar. Defaults to the extension icon, if set to an empty string."
|
|
11265
|
+
},
|
|
11266
|
+
"themeIcons": {
|
|
11267
|
+
"type": "array",
|
|
11268
|
+
"optional": true,
|
|
11269
|
+
"items": {
|
|
11270
|
+
"$ref": "manifest.ThemeIcons"
|
|
11271
|
+
},
|
|
11272
|
+
"description": "Specifies dark and light icons for the button in the spaces toolbar to be used with themes: The ``light`` icons will be used on dark backgrounds and vice versa. At least the set for <em>16px</em> icons should be specified. The set for <em>32px</em> icons will be used on screens with a very high pixel density, if specified."
|
|
11273
|
+
},
|
|
11274
|
+
"title": {
|
|
11275
|
+
"type": "string",
|
|
11276
|
+
"optional": true,
|
|
11277
|
+
"description": "The title for the button in the spaces toolbar, used in the tooltip of the button and as the displayed name in the overflow menu. Defaults to the name of the extension, if set to an empty string."
|
|
11278
|
+
}
|
|
11279
|
+
}
|
|
11280
|
+
},
|
|
11281
|
+
{
|
|
11282
|
+
"id": "ColorArray",
|
|
11283
|
+
"description": "An array of four integers in the range [0,255] that make up the RGBA color. For example, opaque red is <value>[255, 0, 0, 255]</value>.",
|
|
11284
|
+
"type": "array",
|
|
11285
|
+
"items": {
|
|
11286
|
+
"type": "integer",
|
|
11287
|
+
"minimum": 0,
|
|
11288
|
+
"maximum": 255
|
|
11289
|
+
},
|
|
11290
|
+
"minItems": 4,
|
|
11291
|
+
"maxItems": 4
|
|
11292
|
+
}
|
|
11293
|
+
],
|
|
11294
|
+
"functions": [
|
|
11295
|
+
{
|
|
11296
|
+
"name": "create",
|
|
11297
|
+
"type": "function",
|
|
11298
|
+
"description": "Creates a new space and adds its button to the spaces toolbar.",
|
|
11299
|
+
"async": true,
|
|
11300
|
+
"parameters": [
|
|
11301
|
+
{
|
|
11302
|
+
"name": "spaceId",
|
|
11303
|
+
"type": "string",
|
|
11304
|
+
"pattern": "^[a-zA-Z0-9_]+$",
|
|
11305
|
+
"description": "The unique id to assign to this space. May only contain alphanumeric characters and underscores."
|
|
11306
|
+
},
|
|
11307
|
+
{
|
|
11308
|
+
"name": "defaultUrl",
|
|
11309
|
+
"type": "string",
|
|
11310
|
+
"description": "The default space url, loaded into a tab when the button in the spaces toolbar is clicked. Supported are <value>https://</value> and <value>http://</value> links, as well as links to WebExtension pages."
|
|
11311
|
+
},
|
|
11312
|
+
{
|
|
11313
|
+
"name": "buttonProperties",
|
|
11314
|
+
"description": "Properties of the button for the new space.",
|
|
11315
|
+
"$ref": "spaces.SpaceButtonProperties",
|
|
11316
|
+
"optional": true,
|
|
11317
|
+
"default": {}
|
|
11318
|
+
}
|
|
11319
|
+
]
|
|
11320
|
+
},
|
|
11321
|
+
{
|
|
11322
|
+
"name": "remove",
|
|
11323
|
+
"type": "function",
|
|
11324
|
+
"description": "Removes the specified space, closes all its tabs and removes its button from the spaces toolbar. Throws an exception if the requested space does not exist or was not created by this extension.",
|
|
11325
|
+
"async": true,
|
|
11326
|
+
"parameters": [
|
|
11327
|
+
{
|
|
11328
|
+
"name": "name",
|
|
11329
|
+
"type": "string",
|
|
11330
|
+
"pattern": "^[a-zA-Z0-9_]+$",
|
|
11331
|
+
"description": "The name of the space which is to be removed. May only contain alphanumeric characters and underscores."
|
|
11332
|
+
}
|
|
11333
|
+
]
|
|
11334
|
+
},
|
|
11335
|
+
{
|
|
11336
|
+
"name": "update",
|
|
11337
|
+
"type": "function",
|
|
11338
|
+
"description": "Updates the specified space. Throws an exception if the requested space does not exist or was not created by this extension.",
|
|
11339
|
+
"async": true,
|
|
11340
|
+
"parameters": [
|
|
11341
|
+
{
|
|
11342
|
+
"name": "spaceId",
|
|
11343
|
+
"type": "string",
|
|
11344
|
+
"description": "The id of the space whose button is to be updated. May only contain alphanumeric characters and underscores.",
|
|
11345
|
+
"pattern": "^[a-zA-Z0-9_]+$"
|
|
11346
|
+
},
|
|
11347
|
+
{
|
|
11348
|
+
"name": "defaultUrl",
|
|
11349
|
+
"type": "string",
|
|
11350
|
+
"description": "The default space url, loaded into a tab when the button in the spaces toolbar is clicked. Supported are <value>https://</value> and <value>http://</value> links, as well as links to WebExtension pages.",
|
|
11351
|
+
"optional": true
|
|
11352
|
+
},
|
|
11353
|
+
{
|
|
11354
|
+
"name": "buttonProperties",
|
|
11355
|
+
"description": "Only specified button properties will be updated.",
|
|
11356
|
+
"$ref": "spaces.SpaceButtonProperties",
|
|
11357
|
+
"optional": true
|
|
11358
|
+
}
|
|
11359
|
+
]
|
|
11360
|
+
},
|
|
11361
|
+
{
|
|
11362
|
+
"name": "open",
|
|
11363
|
+
"type": "function",
|
|
11364
|
+
"description": "Opens or switches to the specified space. Throws an exception if the requested space does not exist or was not created by this extension.",
|
|
11365
|
+
"async": "callback",
|
|
11366
|
+
"parameters": [
|
|
11367
|
+
{
|
|
11368
|
+
"name": "spaceId",
|
|
11369
|
+
"type": "string",
|
|
11370
|
+
"description": "The id of the space. May only contain alphanumeric characters and underscores.",
|
|
11371
|
+
"pattern": "^[a-zA-Z0-9_]+$"
|
|
11372
|
+
},
|
|
11373
|
+
{
|
|
11374
|
+
"name": "windowId",
|
|
11375
|
+
"type": "integer",
|
|
11376
|
+
"minimum": -2,
|
|
11377
|
+
"optional": true,
|
|
11378
|
+
"description": "The id of the normal window, where the space should be opened. Defaults to the most recent normal window."
|
|
11379
|
+
},
|
|
11380
|
+
{
|
|
11381
|
+
"type": "function",
|
|
11382
|
+
"name": "callback",
|
|
11383
|
+
"optional": true,
|
|
11384
|
+
"parameters": [
|
|
11385
|
+
{
|
|
11386
|
+
"name": "tab",
|
|
11387
|
+
"$ref": "Tab",
|
|
11388
|
+
"optional": true,
|
|
11389
|
+
"description": "Details about the opened or activated space tab."
|
|
11390
|
+
}
|
|
11391
|
+
]
|
|
11392
|
+
}
|
|
11393
|
+
]
|
|
11394
|
+
}
|
|
11395
|
+
]
|
|
11396
|
+
}
|
|
11397
|
+
],
|
|
11195
11398
|
"spacesToolbar.json": [
|
|
11196
11399
|
{
|
|
11197
11400
|
"namespace": "spacesToolbar",
|
|
11401
|
+
"max_manifest_version": 2,
|
|
11198
11402
|
"types": [
|
|
11199
11403
|
{
|
|
11200
11404
|
"id": "ButtonProperties",
|
|
@@ -11285,27 +11489,27 @@
|
|
|
11285
11489
|
{
|
|
11286
11490
|
"name": "removeButton",
|
|
11287
11491
|
"type": "function",
|
|
11288
|
-
"description": "Removes the specified button from the spaces toolbar. Throws an exception if the requested spaces toolbar button does not exist. If the tab of this button is currently open, it will be closed.",
|
|
11492
|
+
"description": "Removes the specified button from the spaces toolbar. Throws an exception if the requested spaces toolbar button does not exist or was not created by this extension. If the tab of this button is currently open, it will be closed.",
|
|
11289
11493
|
"async": true,
|
|
11290
11494
|
"parameters": [
|
|
11291
11495
|
{
|
|
11292
11496
|
"name": "id",
|
|
11293
11497
|
"type": "string",
|
|
11294
11498
|
"pattern": "^[a-zA-Z0-9_]+$",
|
|
11295
|
-
"description": "The id of the button which is to be removed. May only contain alphanumeric characters and underscores."
|
|
11499
|
+
"description": "The id of the spaces toolbar button, which is to be removed. May only contain alphanumeric characters and underscores."
|
|
11296
11500
|
}
|
|
11297
11501
|
]
|
|
11298
11502
|
},
|
|
11299
11503
|
{
|
|
11300
11504
|
"name": "updateButton",
|
|
11301
11505
|
"type": "function",
|
|
11302
|
-
"description": "Updates properties of the specified spaces toolbar button. Throws an exception if the requested spaces toolbar button does not exist.",
|
|
11506
|
+
"description": "Updates properties of the specified spaces toolbar button. Throws an exception if the requested spaces toolbar button does not exist or was not created by this extension.",
|
|
11303
11507
|
"async": true,
|
|
11304
11508
|
"parameters": [
|
|
11305
11509
|
{
|
|
11306
11510
|
"name": "id",
|
|
11307
11511
|
"type": "string",
|
|
11308
|
-
"description": "The id of the button which is to be updated. May only contain alphanumeric characters and underscores.",
|
|
11512
|
+
"description": "The id of the spaces toolbar button, which is to be updated. May only contain alphanumeric characters and underscores.",
|
|
11309
11513
|
"pattern": "^[a-zA-Z0-9_]+$"
|
|
11310
11514
|
},
|
|
11311
11515
|
{
|
|
@@ -11314,6 +11518,40 @@
|
|
|
11314
11518
|
"$ref": "spacesToolbar.ButtonProperties"
|
|
11315
11519
|
}
|
|
11316
11520
|
]
|
|
11521
|
+
},
|
|
11522
|
+
{
|
|
11523
|
+
"name": "clickButton",
|
|
11524
|
+
"type": "function",
|
|
11525
|
+
"description": "Trigger a click on the specified spaces toolbar button. Throws an exception if the requested spaces toolbar button does not exist or was not created by this extension.",
|
|
11526
|
+
"async": "callback",
|
|
11527
|
+
"parameters": [
|
|
11528
|
+
{
|
|
11529
|
+
"name": "id",
|
|
11530
|
+
"type": "string",
|
|
11531
|
+
"description": "The id of the spaces toolbar button. May only contain alphanumeric characters and underscores.",
|
|
11532
|
+
"pattern": "^[a-zA-Z0-9_]+$"
|
|
11533
|
+
},
|
|
11534
|
+
{
|
|
11535
|
+
"name": "windowId",
|
|
11536
|
+
"type": "integer",
|
|
11537
|
+
"minimum": -2,
|
|
11538
|
+
"optional": true,
|
|
11539
|
+
"description": "The id of the normal window, where the spaces toolbar button should be clicked. Defaults to the most recent normal window."
|
|
11540
|
+
},
|
|
11541
|
+
{
|
|
11542
|
+
"type": "function",
|
|
11543
|
+
"name": "callback",
|
|
11544
|
+
"optional": true,
|
|
11545
|
+
"parameters": [
|
|
11546
|
+
{
|
|
11547
|
+
"name": "tab",
|
|
11548
|
+
"$ref": "Tab",
|
|
11549
|
+
"optional": true,
|
|
11550
|
+
"description": "Details about the opened or activated tab."
|
|
11551
|
+
}
|
|
11552
|
+
]
|
|
11553
|
+
}
|
|
11554
|
+
]
|
|
11317
11555
|
}
|
|
11318
11556
|
]
|
|
11319
11557
|
}
|
|
@@ -11734,6 +11972,8 @@
|
|
|
11734
11972
|
{
|
|
11735
11973
|
"type": "object",
|
|
11736
11974
|
"name": "queryInfo",
|
|
11975
|
+
"optional": true,
|
|
11976
|
+
"default": {},
|
|
11737
11977
|
"properties": {
|
|
11738
11978
|
"mailTab": {
|
|
11739
11979
|
"type": "boolean",
|
|
@@ -11845,12 +12085,12 @@
|
|
|
11845
12085
|
"url": {
|
|
11846
12086
|
"type": "string",
|
|
11847
12087
|
"optional": true,
|
|
11848
|
-
"description": "A URL to
|
|
12088
|
+
"description": "A URL of a page to load. If the URL points to a content page (a web page, an extension page or a registered WebExtension protocol handler page), the tab will navigate to the requested page. All other URLs will be opened externally without changing the tab. Note: This function will throw an error, if a content page is loaded into a non-content tab (its type must be either <value>content</value> or <value>mail</value>)."
|
|
11849
12089
|
},
|
|
11850
12090
|
"active": {
|
|
11851
12091
|
"type": "boolean",
|
|
11852
12092
|
"optional": true,
|
|
11853
|
-
"description": "Set this to <value>true</value>, if the tab should
|
|
12093
|
+
"description": "Set this to <value>true</value>, if the tab should become active. Does not affect whether the window is focused (see :ref:`windows.update`). Setting this to <value>false</value> has no effect."
|
|
11854
12094
|
}
|
|
11855
12095
|
}
|
|
11856
12096
|
},
|
|
@@ -11872,7 +12112,7 @@
|
|
|
11872
12112
|
{
|
|
11873
12113
|
"name": "move",
|
|
11874
12114
|
"type": "function",
|
|
11875
|
-
"description": "Moves one or more tabs to a new position within its window, or to a
|
|
12115
|
+
"description": "Moves one or more tabs to a new position within its current window, or to a different window. Note that tabs can only be moved to and from windows of type <value>normal</value>.",
|
|
11876
12116
|
"async": "callback",
|
|
11877
12117
|
"parameters": [
|
|
11878
12118
|
{
|
|
@@ -11905,7 +12145,7 @@
|
|
|
11905
12145
|
"index": {
|
|
11906
12146
|
"type": "integer",
|
|
11907
12147
|
"minimum": -1,
|
|
11908
|
-
"description": "The position to move the
|
|
12148
|
+
"description": "The position to move the tab to. <value>-1</value> will place the tab at the end of the window."
|
|
11909
12149
|
}
|
|
11910
12150
|
}
|
|
11911
12151
|
},
|
|
@@ -11917,17 +12157,10 @@
|
|
|
11917
12157
|
{
|
|
11918
12158
|
"name": "tabs",
|
|
11919
12159
|
"description": "Details about the moved tabs.",
|
|
11920
|
-
"
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
{
|
|
11925
|
-
"type": "array",
|
|
11926
|
-
"items": {
|
|
11927
|
-
"$ref": "Tab"
|
|
11928
|
-
}
|
|
11929
|
-
}
|
|
11930
|
-
]
|
|
12160
|
+
"type": "array",
|
|
12161
|
+
"items": {
|
|
12162
|
+
"$ref": "Tab"
|
|
12163
|
+
}
|
|
11931
12164
|
}
|
|
11932
12165
|
]
|
|
11933
12166
|
}
|
|
@@ -11936,7 +12169,7 @@
|
|
|
11936
12169
|
{
|
|
11937
12170
|
"name": "reload",
|
|
11938
12171
|
"type": "function",
|
|
11939
|
-
"description": "Reload a tab.",
|
|
12172
|
+
"description": "Reload a tab. Only applicable for tabs which display a content page.",
|
|
11940
12173
|
"async": "callback",
|
|
11941
12174
|
"parameters": [
|
|
11942
12175
|
{
|
|
@@ -9716,8 +9716,7 @@
|
|
|
9716
9716
|
"type": "string",
|
|
9717
9717
|
"enum": [
|
|
9718
9718
|
"declarativeNetRequest"
|
|
9719
|
-
]
|
|
9720
|
-
"min_manifest_version": 3
|
|
9719
|
+
]
|
|
9721
9720
|
}
|
|
9722
9721
|
]
|
|
9723
9722
|
},
|
|
@@ -9728,8 +9727,7 @@
|
|
|
9728
9727
|
"type": "string",
|
|
9729
9728
|
"enum": [
|
|
9730
9729
|
"declarativeNetRequestFeedback"
|
|
9731
|
-
]
|
|
9732
|
-
"min_manifest_version": 3
|
|
9730
|
+
]
|
|
9733
9731
|
}
|
|
9734
9732
|
]
|
|
9735
9733
|
},
|
|
@@ -9740,8 +9738,7 @@
|
|
|
9740
9738
|
"type": "string",
|
|
9741
9739
|
"enum": [
|
|
9742
9740
|
"declarativeNetRequestWithHostAccess"
|
|
9743
|
-
]
|
|
9744
|
-
"min_manifest_version": 3
|
|
9741
|
+
]
|
|
9745
9742
|
}
|
|
9746
9743
|
]
|
|
9747
9744
|
},
|
|
@@ -9750,7 +9747,6 @@
|
|
|
9750
9747
|
"properties": {
|
|
9751
9748
|
"declarative_net_request": {
|
|
9752
9749
|
"type": "object",
|
|
9753
|
-
"min_manifest_version": 3,
|
|
9754
9750
|
"optional": true,
|
|
9755
9751
|
"additionalProperties": {
|
|
9756
9752
|
"$ref": "UnrecognizedProperty"
|
|
@@ -13518,7 +13514,7 @@
|
|
|
13518
13514
|
"postprocess": "manifestVersionCheck"
|
|
13519
13515
|
},
|
|
13520
13516
|
"applications": {
|
|
13521
|
-
"$ref": "
|
|
13517
|
+
"$ref": "DeprecatedApplications",
|
|
13522
13518
|
"description": "The applications property is deprecated, please use 'browser_specific_settings'",
|
|
13523
13519
|
"optional": true,
|
|
13524
13520
|
"max_manifest_version": 2
|
|
@@ -14140,6 +14136,41 @@
|
|
|
14140
14136
|
}
|
|
14141
14137
|
}
|
|
14142
14138
|
},
|
|
14139
|
+
{
|
|
14140
|
+
"id": "GeckoAndroidSpecificProperties",
|
|
14141
|
+
"type": "object",
|
|
14142
|
+
"properties": {
|
|
14143
|
+
"strict_min_version": {
|
|
14144
|
+
"type": "string",
|
|
14145
|
+
"optional": true
|
|
14146
|
+
},
|
|
14147
|
+
"strict_max_version": {
|
|
14148
|
+
"type": "string",
|
|
14149
|
+
"optional": true
|
|
14150
|
+
}
|
|
14151
|
+
},
|
|
14152
|
+
"additionalProperties": {
|
|
14153
|
+
"type": "any"
|
|
14154
|
+
}
|
|
14155
|
+
},
|
|
14156
|
+
{
|
|
14157
|
+
"id": "DeprecatedApplications",
|
|
14158
|
+
"type": "object",
|
|
14159
|
+
"properties": {
|
|
14160
|
+
"gecko": {
|
|
14161
|
+
"$ref": "FirefoxSpecificProperties",
|
|
14162
|
+
"optional": true
|
|
14163
|
+
},
|
|
14164
|
+
"gecko_android": {
|
|
14165
|
+
"$ref": "GeckoAndroidSpecificProperties",
|
|
14166
|
+
"optional": true,
|
|
14167
|
+
"unsupported": true
|
|
14168
|
+
}
|
|
14169
|
+
},
|
|
14170
|
+
"additionalProperties": {
|
|
14171
|
+
"type": "any"
|
|
14172
|
+
}
|
|
14173
|
+
},
|
|
14143
14174
|
{
|
|
14144
14175
|
"id": "BrowserSpecificSettings",
|
|
14145
14176
|
"type": "object",
|
|
@@ -14147,6 +14178,10 @@
|
|
|
14147
14178
|
"gecko": {
|
|
14148
14179
|
"$ref": "FirefoxSpecificProperties",
|
|
14149
14180
|
"optional": true
|
|
14181
|
+
},
|
|
14182
|
+
"gecko_android": {
|
|
14183
|
+
"$ref": "GeckoAndroidSpecificProperties",
|
|
14184
|
+
"optional": true
|
|
14150
14185
|
}
|
|
14151
14186
|
},
|
|
14152
14187
|
"additionalProperties": {
|