webext-schema 2.0.4 → 2.0.8
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 +2 -0
- package/modules/update.js +1 -1
- package/package.json +11 -11
- package/schemas/beta/webext.json +263 -50
- package/schemas/central/webext.json +177 -24
- package/schemas/mail/mailext.json +375 -144
- package/schemas/release/webext.json +263 -50
|
@@ -5165,7 +5165,17 @@
|
|
|
5165
5165
|
"description": "The position of the tabs within their windows."
|
|
5166
5166
|
},
|
|
5167
5167
|
"cookieStoreId": {
|
|
5168
|
-
"
|
|
5168
|
+
"choices": [
|
|
5169
|
+
{
|
|
5170
|
+
"type": "array",
|
|
5171
|
+
"items": {
|
|
5172
|
+
"type": "string"
|
|
5173
|
+
}
|
|
5174
|
+
},
|
|
5175
|
+
{
|
|
5176
|
+
"type": "string"
|
|
5177
|
+
}
|
|
5178
|
+
],
|
|
5169
5179
|
"optional": true,
|
|
5170
5180
|
"description": "The CookieStoreId used for the tab."
|
|
5171
5181
|
},
|
|
@@ -9033,6 +9043,22 @@
|
|
|
9033
9043
|
"$ref": "extensionTypes.RunAt",
|
|
9034
9044
|
"optional": true,
|
|
9035
9045
|
"description": "The soonest that the JavaScript or CSS will be injected into the tab. Defaults to \"document_idle\"."
|
|
9046
|
+
},
|
|
9047
|
+
"cookieStoreId": {
|
|
9048
|
+
"choices": [
|
|
9049
|
+
{
|
|
9050
|
+
"type": "array",
|
|
9051
|
+
"minItems": 1,
|
|
9052
|
+
"items": {
|
|
9053
|
+
"type": "string"
|
|
9054
|
+
}
|
|
9055
|
+
},
|
|
9056
|
+
{
|
|
9057
|
+
"type": "string"
|
|
9058
|
+
}
|
|
9059
|
+
],
|
|
9060
|
+
"optional": true,
|
|
9061
|
+
"description": "limit the set of matched tabs to those that belong to the given cookie store id"
|
|
9036
9062
|
}
|
|
9037
9063
|
}
|
|
9038
9064
|
},
|
|
@@ -11737,7 +11763,6 @@
|
|
|
11737
11763
|
"screenshots",
|
|
11738
11764
|
"seqstyle",
|
|
11739
11765
|
"stackwalk",
|
|
11740
|
-
"threads",
|
|
11741
11766
|
"jstracer",
|
|
11742
11767
|
"jsallocations",
|
|
11743
11768
|
"nostacksampling",
|
|
@@ -11750,6 +11775,8 @@
|
|
|
11750
11775
|
"cpuallthreads",
|
|
11751
11776
|
"samplingallthreads",
|
|
11752
11777
|
"markersallthreads",
|
|
11778
|
+
"unregisteredthreads",
|
|
11779
|
+
"processcpu",
|
|
11753
11780
|
"responsiveness"
|
|
11754
11781
|
]
|
|
11755
11782
|
},
|
|
@@ -12869,7 +12896,9 @@
|
|
|
12869
12896
|
},
|
|
12870
12897
|
"persistent": {
|
|
12871
12898
|
"optional": true,
|
|
12872
|
-
"
|
|
12899
|
+
"type": "boolean",
|
|
12900
|
+
"max_manifest_version": 2,
|
|
12901
|
+
"default": true
|
|
12873
12902
|
}
|
|
12874
12903
|
},
|
|
12875
12904
|
"additionalProperties": {
|
|
@@ -12887,7 +12916,9 @@
|
|
|
12887
12916
|
},
|
|
12888
12917
|
"persistent": {
|
|
12889
12918
|
"optional": true,
|
|
12890
|
-
"
|
|
12919
|
+
"type": "boolean",
|
|
12920
|
+
"max_manifest_version": 2,
|
|
12921
|
+
"default": true
|
|
12891
12922
|
}
|
|
12892
12923
|
},
|
|
12893
12924
|
"additionalProperties": {
|
|
@@ -13146,6 +13177,30 @@
|
|
|
13146
13177
|
}
|
|
13147
13178
|
}
|
|
13148
13179
|
},
|
|
13180
|
+
{
|
|
13181
|
+
"id": "WebExtensionSitePermissionsManifest",
|
|
13182
|
+
"type": "object",
|
|
13183
|
+
"description": "Represents a WebExtension site permissions manifest.json file",
|
|
13184
|
+
"$import": "ManifestBase",
|
|
13185
|
+
"properties": {
|
|
13186
|
+
"site_permissions": {
|
|
13187
|
+
"type": "array",
|
|
13188
|
+
"minItems": 1,
|
|
13189
|
+
"items": {
|
|
13190
|
+
"$ref": "SitePermission"
|
|
13191
|
+
}
|
|
13192
|
+
},
|
|
13193
|
+
"install_origins": {
|
|
13194
|
+
"type": "array",
|
|
13195
|
+
"minItems": 1,
|
|
13196
|
+
"maxItems": 1,
|
|
13197
|
+
"items": {
|
|
13198
|
+
"type": "string",
|
|
13199
|
+
"format": "origin"
|
|
13200
|
+
}
|
|
13201
|
+
}
|
|
13202
|
+
}
|
|
13203
|
+
},
|
|
13149
13204
|
{
|
|
13150
13205
|
"id": "ThemeIcons",
|
|
13151
13206
|
"type": "object",
|
|
@@ -13245,6 +13300,18 @@
|
|
|
13245
13300
|
}
|
|
13246
13301
|
]
|
|
13247
13302
|
},
|
|
13303
|
+
{
|
|
13304
|
+
"id": "SitePermission",
|
|
13305
|
+
"choices": [
|
|
13306
|
+
{
|
|
13307
|
+
"type": "string",
|
|
13308
|
+
"enum": [
|
|
13309
|
+
"midi",
|
|
13310
|
+
"midi-sysex"
|
|
13311
|
+
]
|
|
13312
|
+
}
|
|
13313
|
+
]
|
|
13314
|
+
},
|
|
13248
13315
|
{
|
|
13249
13316
|
"id": "HttpURL",
|
|
13250
13317
|
"type": "string",
|
|
@@ -13474,24 +13541,6 @@
|
|
|
13474
13541
|
"id": "UnrecognizedProperty",
|
|
13475
13542
|
"type": "any",
|
|
13476
13543
|
"deprecated": "An unexpected property was found in the WebExtension manifest."
|
|
13477
|
-
},
|
|
13478
|
-
{
|
|
13479
|
-
"id": "PersistentBackgroundProperty",
|
|
13480
|
-
"choices": [
|
|
13481
|
-
{
|
|
13482
|
-
"type": "boolean",
|
|
13483
|
-
"enum": [
|
|
13484
|
-
true
|
|
13485
|
-
]
|
|
13486
|
-
},
|
|
13487
|
-
{
|
|
13488
|
-
"type": "boolean",
|
|
13489
|
-
"enum": [
|
|
13490
|
-
false
|
|
13491
|
-
],
|
|
13492
|
-
"deprecated": "Event pages are not currently supported. This will run as a persistent background page."
|
|
13493
|
-
}
|
|
13494
|
-
]
|
|
13495
13544
|
}
|
|
13496
13545
|
]
|
|
13497
13546
|
}
|
|
@@ -15879,7 +15928,7 @@
|
|
|
15879
15928
|
"files": {
|
|
15880
15929
|
"type": "array",
|
|
15881
15930
|
"optional": true,
|
|
15882
|
-
"description": "The path of the JS
|
|
15931
|
+
"description": "The path of the JS files to inject, relative to the extension's root directory. Exactly one of <code>files</code> and <code>func</code> must be specified.",
|
|
15883
15932
|
"minItems": 1,
|
|
15884
15933
|
"items": {
|
|
15885
15934
|
"type": "string"
|
|
@@ -15902,13 +15951,24 @@
|
|
|
15902
15951
|
"description": "Result of a script injection.",
|
|
15903
15952
|
"properties": {
|
|
15904
15953
|
"frameId": {
|
|
15905
|
-
"type": "
|
|
15954
|
+
"type": "integer",
|
|
15906
15955
|
"description": "The frame ID associated with the injection."
|
|
15907
15956
|
},
|
|
15908
15957
|
"result": {
|
|
15909
15958
|
"type": "any",
|
|
15910
15959
|
"optional": true,
|
|
15911
15960
|
"description": "The result of the script execution."
|
|
15961
|
+
},
|
|
15962
|
+
"error": {
|
|
15963
|
+
"type": "object",
|
|
15964
|
+
"optional": true,
|
|
15965
|
+
"description": "When the injection has failed, the error is exposed to the caller with this property.",
|
|
15966
|
+
"properties": {
|
|
15967
|
+
"message": {
|
|
15968
|
+
"type": "string",
|
|
15969
|
+
"description": "A message explaining why the injection has failed."
|
|
15970
|
+
}
|
|
15971
|
+
}
|
|
15912
15972
|
}
|
|
15913
15973
|
}
|
|
15914
15974
|
},
|
|
@@ -15924,11 +15984,50 @@
|
|
|
15924
15984
|
"type": "number"
|
|
15925
15985
|
}
|
|
15926
15986
|
},
|
|
15987
|
+
"allFrames": {
|
|
15988
|
+
"type": "boolean",
|
|
15989
|
+
"optional": true,
|
|
15990
|
+
"description": "Whether the script should inject into all frames within the tab. Defaults to false. This must not be true if <code>frameIds</code> is specified."
|
|
15991
|
+
},
|
|
15927
15992
|
"tabId": {
|
|
15928
15993
|
"type": "number",
|
|
15929
15994
|
"description": "The ID of the tab into which to inject."
|
|
15930
15995
|
}
|
|
15931
15996
|
}
|
|
15997
|
+
},
|
|
15998
|
+
{
|
|
15999
|
+
"id": "CSSInjection",
|
|
16000
|
+
"type": "object",
|
|
16001
|
+
"properties": {
|
|
16002
|
+
"css": {
|
|
16003
|
+
"type": "string",
|
|
16004
|
+
"optional": true,
|
|
16005
|
+
"description": "A string containing the CSS to inject. Exactly one of <code>files</code> and <code>css</code> must be specified."
|
|
16006
|
+
},
|
|
16007
|
+
"files": {
|
|
16008
|
+
"type": "array",
|
|
16009
|
+
"optional": true,
|
|
16010
|
+
"description": "The path of the CSS files to inject, relative to the extension's root directory. Exactly one of <code>files</code> and <code>css</code> must be specified.",
|
|
16011
|
+
"minItems": 1,
|
|
16012
|
+
"items": {
|
|
16013
|
+
"type": "string"
|
|
16014
|
+
}
|
|
16015
|
+
},
|
|
16016
|
+
"origin": {
|
|
16017
|
+
"type": "string",
|
|
16018
|
+
"optional": true,
|
|
16019
|
+
"enum": [
|
|
16020
|
+
"USER",
|
|
16021
|
+
"AUTHOR"
|
|
16022
|
+
],
|
|
16023
|
+
"default": "AUTHOR",
|
|
16024
|
+
"description": "The style origin for the injection. Defaults to <code>'AUTHOR'</code>."
|
|
16025
|
+
},
|
|
16026
|
+
"target": {
|
|
16027
|
+
"$ref": "InjectionTarget",
|
|
16028
|
+
"description": "Details specifying the target into which to inject the CSS."
|
|
16029
|
+
}
|
|
16030
|
+
}
|
|
15932
16031
|
}
|
|
15933
16032
|
],
|
|
15934
16033
|
"functions": [
|
|
@@ -15958,6 +16057,44 @@
|
|
|
15958
16057
|
]
|
|
15959
16058
|
}
|
|
15960
16059
|
]
|
|
16060
|
+
},
|
|
16061
|
+
{
|
|
16062
|
+
"name": "insertCSS",
|
|
16063
|
+
"type": "function",
|
|
16064
|
+
"description": "Inserts a CSS stylesheet into a target context. If multiple frames are specified, unsuccessful injections are ignored.",
|
|
16065
|
+
"async": "callback",
|
|
16066
|
+
"parameters": [
|
|
16067
|
+
{
|
|
16068
|
+
"name": "injection",
|
|
16069
|
+
"$ref": "CSSInjection",
|
|
16070
|
+
"description": "The details of the styles to insert."
|
|
16071
|
+
},
|
|
16072
|
+
{
|
|
16073
|
+
"name": "callback",
|
|
16074
|
+
"type": "function",
|
|
16075
|
+
"description": "Invoked upon completion of the injection.",
|
|
16076
|
+
"parameters": []
|
|
16077
|
+
}
|
|
16078
|
+
]
|
|
16079
|
+
},
|
|
16080
|
+
{
|
|
16081
|
+
"name": "removeCSS",
|
|
16082
|
+
"type": "function",
|
|
16083
|
+
"description": "Removes a CSS stylesheet that was previously inserted by this extension from a target context.",
|
|
16084
|
+
"async": "callback",
|
|
16085
|
+
"parameters": [
|
|
16086
|
+
{
|
|
16087
|
+
"name": "injection",
|
|
16088
|
+
"$ref": "CSSInjection",
|
|
16089
|
+
"description": "The details of the styles to remove. Note that the <code>css</code>, <code>files</code>, and <code>origin</code> properties must exactly match the stylesheet inserted through <code>insertCSS</code>. Attempting to remove a non-existent stylesheet is a no-op."
|
|
16090
|
+
},
|
|
16091
|
+
{
|
|
16092
|
+
"name": "callback",
|
|
16093
|
+
"type": "function",
|
|
16094
|
+
"description": "Invoked upon completion of the injection.",
|
|
16095
|
+
"parameters": []
|
|
16096
|
+
}
|
|
16097
|
+
]
|
|
15961
16098
|
}
|
|
15962
16099
|
]
|
|
15963
16100
|
}
|
|
@@ -17947,6 +18084,22 @@
|
|
|
17947
18084
|
"default": "document_idle",
|
|
17948
18085
|
"optional": true,
|
|
17949
18086
|
"description": "The soonest that the JavaScript will be injected into the tab. Defaults to \"document_idle\"."
|
|
18087
|
+
},
|
|
18088
|
+
"cookieStoreId": {
|
|
18089
|
+
"choices": [
|
|
18090
|
+
{
|
|
18091
|
+
"type": "array",
|
|
18092
|
+
"minItems": 1,
|
|
18093
|
+
"items": {
|
|
18094
|
+
"type": "string"
|
|
18095
|
+
}
|
|
18096
|
+
},
|
|
18097
|
+
{
|
|
18098
|
+
"type": "string"
|
|
18099
|
+
}
|
|
18100
|
+
],
|
|
18101
|
+
"optional": true,
|
|
18102
|
+
"description": "limit the set of matched tabs to those that belong to the given cookie store id"
|
|
17950
18103
|
}
|
|
17951
18104
|
}
|
|
17952
18105
|
},
|