webext-schema 5.5.2 → 5.5.3
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 +15 -10
- package/schemas/beta/webext.json +21 -23
- package/schemas/central/webext.json +28 -23
- package/schemas/mail/mailext.json +182 -26
- package/schemas/release/webext.json +4 -1
package/package.json
CHANGED
|
@@ -10,35 +10,40 @@
|
|
|
10
10
|
"url": "git+https://github.com/asamuzaK/webext-schema.git"
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
|
-
"
|
|
13
|
+
"exports": {
|
|
14
|
+
"default": {
|
|
15
|
+
"types": "./types/index.d.ts",
|
|
16
|
+
"default": "./index.js"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
14
19
|
"types": "types/index.d.ts",
|
|
15
20
|
"dependencies": {
|
|
16
21
|
"camelize": "^1.0.1",
|
|
17
|
-
"commander": "^13.
|
|
22
|
+
"commander": "^13.1.0",
|
|
18
23
|
"decamelize": "^6.0.0",
|
|
19
24
|
"json5": "^2.2.3",
|
|
20
25
|
"sinon": "^19.0.2"
|
|
21
26
|
},
|
|
22
27
|
"devDependencies": {
|
|
23
28
|
"@types/firefox-webext-browser": "^120.0.4",
|
|
24
|
-
"@types/node": "^22.
|
|
29
|
+
"@types/node": "^22.13.1",
|
|
25
30
|
"@types/sinon": "^17.0.3",
|
|
26
31
|
"c8": "^10.1.3",
|
|
27
|
-
"eslint": "^9.
|
|
32
|
+
"eslint": "^9.19.0",
|
|
28
33
|
"eslint-plugin-import-x": "^4.6.1",
|
|
29
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
34
|
+
"eslint-plugin-jsdoc": "^50.6.3",
|
|
30
35
|
"eslint-plugin-regexp": "^2.7.0",
|
|
31
36
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
32
37
|
"globals": "^15.14.0",
|
|
33
|
-
"mocha": "^11.0
|
|
34
|
-
"neostandard": "^0.12.
|
|
38
|
+
"mocha": "^11.1.0",
|
|
39
|
+
"neostandard": "^0.12.1",
|
|
35
40
|
"npm-run-all2": "^7.0.2",
|
|
36
41
|
"typescript": "^5.7.3",
|
|
37
|
-
"undici": "^7.
|
|
42
|
+
"undici": "^7.3.0"
|
|
38
43
|
},
|
|
39
44
|
"scripts": {
|
|
40
45
|
"build": "npm run tsc && npm run lint && npm run test",
|
|
41
|
-
"lint": "eslint --fix
|
|
46
|
+
"lint": "eslint . --fix",
|
|
42
47
|
"start": "node index",
|
|
43
48
|
"test": "npm run test-central",
|
|
44
49
|
"test-beta": "c8 mocha --require=test/mocha/setup.js --channel=beta --exit test/*.test.js",
|
|
@@ -54,5 +59,5 @@
|
|
|
54
59
|
"update-mail": "node index update --channel=mail -i",
|
|
55
60
|
"update-release": "node index update --channel=release -i"
|
|
56
61
|
},
|
|
57
|
-
"version": "5.5.
|
|
62
|
+
"version": "5.5.3"
|
|
58
63
|
}
|
package/schemas/beta/webext.json
CHANGED
|
@@ -13423,6 +13423,7 @@
|
|
|
13423
13423
|
},
|
|
13424
13424
|
"name": {
|
|
13425
13425
|
"type": "string",
|
|
13426
|
+
"description": "Name must be at least 2, at should be at most 75 characters",
|
|
13426
13427
|
"optional": false,
|
|
13427
13428
|
"preprocess": "localize"
|
|
13428
13429
|
},
|
|
@@ -13521,24 +13522,16 @@
|
|
|
13521
13522
|
{
|
|
13522
13523
|
"type": "object",
|
|
13523
13524
|
"properties": {
|
|
13524
|
-
"
|
|
13525
|
+
"service_worker": {
|
|
13526
|
+
"optional": true,
|
|
13525
13527
|
"$ref": "ExtensionURL"
|
|
13526
13528
|
},
|
|
13527
|
-
"
|
|
13529
|
+
"page": {
|
|
13528
13530
|
"optional": true,
|
|
13529
|
-
"
|
|
13530
|
-
|
|
13531
|
-
"default": true
|
|
13532
|
-
}
|
|
13533
|
-
},
|
|
13534
|
-
"additionalProperties": {
|
|
13535
|
-
"$ref": "UnrecognizedProperty"
|
|
13536
|
-
}
|
|
13537
|
-
},
|
|
13538
|
-
{
|
|
13539
|
-
"type": "object",
|
|
13540
|
-
"properties": {
|
|
13531
|
+
"$ref": "ExtensionURL"
|
|
13532
|
+
},
|
|
13541
13533
|
"scripts": {
|
|
13534
|
+
"optional": true,
|
|
13542
13535
|
"type": "array",
|
|
13543
13536
|
"items": {
|
|
13544
13537
|
"$ref": "ExtensionURL"
|
|
@@ -13547,6 +13540,7 @@
|
|
|
13547
13540
|
"type": {
|
|
13548
13541
|
"optional": true,
|
|
13549
13542
|
"type": "string",
|
|
13543
|
+
"description": "Only supported for page/scripts; not for service_worker yet, see bug 1775574",
|
|
13550
13544
|
"enum": [
|
|
13551
13545
|
"module",
|
|
13552
13546
|
"classic"
|
|
@@ -13557,20 +13551,24 @@
|
|
|
13557
13551
|
"type": "boolean",
|
|
13558
13552
|
"max_manifest_version": 2,
|
|
13559
13553
|
"default": true
|
|
13554
|
+
},
|
|
13555
|
+
"preferred_environment": {
|
|
13556
|
+
"optional": true,
|
|
13557
|
+
"type": "array",
|
|
13558
|
+
"items": {
|
|
13559
|
+
"type": "string",
|
|
13560
|
+
"enum": [
|
|
13561
|
+
"service_worker",
|
|
13562
|
+
"document"
|
|
13563
|
+
],
|
|
13564
|
+
"onError": "warn"
|
|
13565
|
+
}
|
|
13560
13566
|
}
|
|
13561
13567
|
},
|
|
13562
13568
|
"additionalProperties": {
|
|
13563
13569
|
"$ref": "UnrecognizedProperty"
|
|
13564
|
-
}
|
|
13565
|
-
},
|
|
13566
|
-
{
|
|
13567
|
-
"type": "object",
|
|
13568
|
-
"properties": {
|
|
13569
|
-
"service_worker": {
|
|
13570
|
-
"$ref": "ExtensionURL"
|
|
13571
|
-
}
|
|
13572
13570
|
},
|
|
13573
|
-
"postprocess": "
|
|
13571
|
+
"postprocess": "checkRequiredManifestBackgroundKeys"
|
|
13574
13572
|
}
|
|
13575
13573
|
],
|
|
13576
13574
|
"optional": true
|
|
@@ -968,6 +968,13 @@
|
|
|
968
968
|
"description": "Called to return the registered commands."
|
|
969
969
|
}
|
|
970
970
|
]
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"name": "openShortcutSettings",
|
|
974
|
+
"type": "function",
|
|
975
|
+
"async": true,
|
|
976
|
+
"description": "Open extension shortcuts configuration page.",
|
|
977
|
+
"parameters": []
|
|
971
978
|
}
|
|
972
979
|
]
|
|
973
980
|
}
|
|
@@ -13423,6 +13430,7 @@
|
|
|
13423
13430
|
},
|
|
13424
13431
|
"name": {
|
|
13425
13432
|
"type": "string",
|
|
13433
|
+
"description": "Name must be at least 2, at should be at most 75 characters",
|
|
13426
13434
|
"optional": false,
|
|
13427
13435
|
"preprocess": "localize"
|
|
13428
13436
|
},
|
|
@@ -13521,24 +13529,16 @@
|
|
|
13521
13529
|
{
|
|
13522
13530
|
"type": "object",
|
|
13523
13531
|
"properties": {
|
|
13524
|
-
"
|
|
13532
|
+
"service_worker": {
|
|
13533
|
+
"optional": true,
|
|
13525
13534
|
"$ref": "ExtensionURL"
|
|
13526
13535
|
},
|
|
13527
|
-
"
|
|
13536
|
+
"page": {
|
|
13528
13537
|
"optional": true,
|
|
13529
|
-
"
|
|
13530
|
-
|
|
13531
|
-
"default": true
|
|
13532
|
-
}
|
|
13533
|
-
},
|
|
13534
|
-
"additionalProperties": {
|
|
13535
|
-
"$ref": "UnrecognizedProperty"
|
|
13536
|
-
}
|
|
13537
|
-
},
|
|
13538
|
-
{
|
|
13539
|
-
"type": "object",
|
|
13540
|
-
"properties": {
|
|
13538
|
+
"$ref": "ExtensionURL"
|
|
13539
|
+
},
|
|
13541
13540
|
"scripts": {
|
|
13541
|
+
"optional": true,
|
|
13542
13542
|
"type": "array",
|
|
13543
13543
|
"items": {
|
|
13544
13544
|
"$ref": "ExtensionURL"
|
|
@@ -13547,6 +13547,7 @@
|
|
|
13547
13547
|
"type": {
|
|
13548
13548
|
"optional": true,
|
|
13549
13549
|
"type": "string",
|
|
13550
|
+
"description": "Only supported for page/scripts; not for service_worker yet, see bug 1775574",
|
|
13550
13551
|
"enum": [
|
|
13551
13552
|
"module",
|
|
13552
13553
|
"classic"
|
|
@@ -13557,20 +13558,24 @@
|
|
|
13557
13558
|
"type": "boolean",
|
|
13558
13559
|
"max_manifest_version": 2,
|
|
13559
13560
|
"default": true
|
|
13561
|
+
},
|
|
13562
|
+
"preferred_environment": {
|
|
13563
|
+
"optional": true,
|
|
13564
|
+
"type": "array",
|
|
13565
|
+
"items": {
|
|
13566
|
+
"type": "string",
|
|
13567
|
+
"enum": [
|
|
13568
|
+
"service_worker",
|
|
13569
|
+
"document"
|
|
13570
|
+
],
|
|
13571
|
+
"onError": "warn"
|
|
13572
|
+
}
|
|
13560
13573
|
}
|
|
13561
13574
|
},
|
|
13562
13575
|
"additionalProperties": {
|
|
13563
13576
|
"$ref": "UnrecognizedProperty"
|
|
13564
|
-
}
|
|
13565
|
-
},
|
|
13566
|
-
{
|
|
13567
|
-
"type": "object",
|
|
13568
|
-
"properties": {
|
|
13569
|
-
"service_worker": {
|
|
13570
|
-
"$ref": "ExtensionURL"
|
|
13571
|
-
}
|
|
13572
13577
|
},
|
|
13573
|
-
"postprocess": "
|
|
13578
|
+
"postprocess": "checkRequiredManifestBackgroundKeys"
|
|
13574
13579
|
}
|
|
13575
13580
|
],
|
|
13576
13581
|
"optional": true
|
|
@@ -3817,8 +3817,9 @@
|
|
|
3817
3817
|
"events": [
|
|
3818
3818
|
{
|
|
3819
3819
|
"name": "onSearchRequest",
|
|
3820
|
+
"max_manifest_version": 2,
|
|
3820
3821
|
"type": "function",
|
|
3821
|
-
"description": "Registering this listener will create
|
|
3822
|
+
"description": "Registering this listener will create a read-only address book, similar to an LDAP address book. When selecting this address book, users will first see no contacts, but they can search for them, which will fire this event. Contacts returned by the listener callback will be displayed as contact cards in the address book. Several listeners can be registered, to create multiple address books.\n\nThe event also fires for each registered listener (for each created read-only address book), when users type something into the mail composer's <em>To:</em> field, or into similar fields like the calendar meeting attendees field. Contacts returned by the listener callback will be added to the autocomplete results in the dropdown of that field.\n\nExample: <literalinclude>includes/addressBooks/onSearchRequest_mv2.js<lang>JavaScript</lang></literalinclude>",
|
|
3822
3823
|
"parameters": [
|
|
3823
3824
|
{
|
|
3824
3825
|
"name": "node",
|
|
@@ -3846,7 +3847,7 @@
|
|
|
3846
3847
|
"addressBookName": {
|
|
3847
3848
|
"type": "string",
|
|
3848
3849
|
"optional": true,
|
|
3849
|
-
"description": "The name of the created address book."
|
|
3850
|
+
"description": "The name of the created address book. If not provided, the name of the extension is used."
|
|
3850
3851
|
},
|
|
3851
3852
|
"isSecure": {
|
|
3852
3853
|
"type": "boolean",
|
|
@@ -3856,7 +3857,55 @@
|
|
|
3856
3857
|
"id": {
|
|
3857
3858
|
"type": "string",
|
|
3858
3859
|
"optional": true,
|
|
3859
|
-
"description": "The unique
|
|
3860
|
+
"description": "The unique identifier of the created address book. If not provided, a unique identifier will be generated for you."
|
|
3861
|
+
}
|
|
3862
|
+
}
|
|
3863
|
+
}
|
|
3864
|
+
]
|
|
3865
|
+
},
|
|
3866
|
+
{
|
|
3867
|
+
"name": "onSearchRequest",
|
|
3868
|
+
"min_manifest_version": 3,
|
|
3869
|
+
"type": "function",
|
|
3870
|
+
"description": "Registering this listener will create a read-only address book, similar to an LDAP address book. When selecting this address book, users will first see no contacts, but they can search for them, which will fire this event. Contacts returned by the listener callback will be displayed as contact cards in the address book. Several listeners can be registered, to create multiple address books. **Ensure all listeners are at the top-level and use the synchronous pattern, otherwise the associated address books will be removed on background termination.**.\n\nThe event also fires for each registered listener (for each created read-only address book), when users type something into the mail composer's <em>To:</em> field, or into similar fields like the calendar meeting attendees field. Contacts returned by the listener callback will be added to the autocomplete results in the dropdown of that field.\n\nExample: <literalinclude>includes/addressBooks/onSearchRequest_mv3.js<lang>JavaScript</lang></literalinclude>",
|
|
3871
|
+
"parameters": [
|
|
3872
|
+
{
|
|
3873
|
+
"name": "node",
|
|
3874
|
+
"$ref": "AddressBookNode"
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"name": "searchString",
|
|
3878
|
+
"description": "The search text that the user entered. Not available when invoked from the advanced address book search dialog.",
|
|
3879
|
+
"type": "string",
|
|
3880
|
+
"optional": true
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"name": "query",
|
|
3884
|
+
"type": "string",
|
|
3885
|
+
"description": "The boolean query expression corresponding to the search. **Note:** This parameter may change in future releases of Thunderbird.",
|
|
3886
|
+
"optional": true
|
|
3887
|
+
}
|
|
3888
|
+
],
|
|
3889
|
+
"extraParameters": [
|
|
3890
|
+
{
|
|
3891
|
+
"name": "parameters",
|
|
3892
|
+
"description": "Descriptions for the address book created by registering this listener.",
|
|
3893
|
+
"type": "object",
|
|
3894
|
+
"properties": {
|
|
3895
|
+
"addressBookName": {
|
|
3896
|
+
"type": "string",
|
|
3897
|
+
"optional": true,
|
|
3898
|
+
"description": "The name of the created address book. If not provided, the name of the extension is used."
|
|
3899
|
+
},
|
|
3900
|
+
"isSecure": {
|
|
3901
|
+
"type": "boolean",
|
|
3902
|
+
"optional": true,
|
|
3903
|
+
"description": "Whether the address book search queries are using encrypted protocols like HTTPS."
|
|
3904
|
+
},
|
|
3905
|
+
"id": {
|
|
3906
|
+
"type": "string",
|
|
3907
|
+
"optional": true,
|
|
3908
|
+
"description": "The unique identifier of the created address book. If not provided, a unique identifier will be generated for you."
|
|
3860
3909
|
}
|
|
3861
3910
|
}
|
|
3862
3911
|
}
|
|
@@ -9675,7 +9724,7 @@
|
|
|
9675
9724
|
{
|
|
9676
9725
|
"name": "getUnifiedFolder",
|
|
9677
9726
|
"type": "function",
|
|
9678
|
-
"description": "Get one of the special unified mailbox folders, which are virtual search folders and return the content from all mail accounts.",
|
|
9727
|
+
"description": "Get one of the special unified mailbox folders, which are virtual search folders and return the content from all mail accounts. Throws if the requested folder does not exist.",
|
|
9679
9728
|
"async": "callback",
|
|
9680
9729
|
"parameters": [
|
|
9681
9730
|
{
|
|
@@ -9714,7 +9763,7 @@
|
|
|
9714
9763
|
{
|
|
9715
9764
|
"name": "getTagFolder",
|
|
9716
9765
|
"type": "function",
|
|
9717
|
-
"description": "Get one of the special virtual tag folders, which are virtual search folders and group messages from all mail accounts based on their tags.",
|
|
9766
|
+
"description": "Get one of the special virtual tag folders, which are virtual search folders and group messages from all mail accounts based on their tags. Throws if the requested folder does not exist.",
|
|
9718
9767
|
"async": "callback",
|
|
9719
9768
|
"parameters": [
|
|
9720
9769
|
{
|
|
@@ -14098,7 +14147,7 @@
|
|
|
14098
14147
|
{
|
|
14099
14148
|
"type": "string",
|
|
14100
14149
|
"name": "color",
|
|
14101
|
-
"description": "Tag color in hex format (i.e.: <var>#000080</var> for navy blue).
|
|
14150
|
+
"description": "Tag color in hex format (i.e.: <var>#000080</var> for navy blue).",
|
|
14102
14151
|
"pattern": "^#[0-9a-fA-F]{6}"
|
|
14103
14152
|
}
|
|
14104
14153
|
]
|
|
@@ -14132,7 +14181,7 @@
|
|
|
14132
14181
|
"color": {
|
|
14133
14182
|
"type": "string",
|
|
14134
14183
|
"pattern": "^#[0-9a-fA-F]{6}",
|
|
14135
|
-
"description": "Tag color in hex format (i.e.:
|
|
14184
|
+
"description": "Tag color in hex format (i.e.: <var>#000080</var> for navy blue).",
|
|
14136
14185
|
"optional": true
|
|
14137
14186
|
}
|
|
14138
14187
|
}
|
|
@@ -14177,11 +14226,33 @@
|
|
|
14177
14226
|
},
|
|
14178
14227
|
"color": {
|
|
14179
14228
|
"type": "string",
|
|
14180
|
-
"description": "Tag color."
|
|
14229
|
+
"description": "Tag color in upper case hex format (i.e.: <var>#000080</var> for navy blue)."
|
|
14181
14230
|
},
|
|
14182
14231
|
"ordinal": {
|
|
14183
14232
|
"type": "string",
|
|
14184
|
-
"description": "
|
|
14233
|
+
"description": "A custom sort string."
|
|
14234
|
+
}
|
|
14235
|
+
}
|
|
14236
|
+
},
|
|
14237
|
+
{
|
|
14238
|
+
"id": "MessageTagProperties",
|
|
14239
|
+
"type": "object",
|
|
14240
|
+
"properties": {
|
|
14241
|
+
"tag": {
|
|
14242
|
+
"type": "string",
|
|
14243
|
+
"optional": true,
|
|
14244
|
+
"description": "Human-readable tag name."
|
|
14245
|
+
},
|
|
14246
|
+
"color": {
|
|
14247
|
+
"type": "string",
|
|
14248
|
+
"pattern": "^#[0-9a-fA-F]{6}",
|
|
14249
|
+
"optional": true,
|
|
14250
|
+
"description": "Tag color in upper case hex format (i.e.: <var>#000080</var> for navy blue)."
|
|
14251
|
+
},
|
|
14252
|
+
"ordinal": {
|
|
14253
|
+
"type": "string",
|
|
14254
|
+
"optional": true,
|
|
14255
|
+
"description": "A custom sort string."
|
|
14185
14256
|
}
|
|
14186
14257
|
}
|
|
14187
14258
|
},
|
|
@@ -14210,6 +14281,62 @@
|
|
|
14210
14281
|
}
|
|
14211
14282
|
}
|
|
14212
14283
|
],
|
|
14284
|
+
"events": [
|
|
14285
|
+
{
|
|
14286
|
+
"name": "onCreated",
|
|
14287
|
+
"permissions": [
|
|
14288
|
+
"messagesTagsList"
|
|
14289
|
+
],
|
|
14290
|
+
"type": "function",
|
|
14291
|
+
"description": "Fired when a new message tag has been created.",
|
|
14292
|
+
"parameters": [
|
|
14293
|
+
{
|
|
14294
|
+
"name": "tag",
|
|
14295
|
+
"$ref": "messages.tags.MessageTag"
|
|
14296
|
+
}
|
|
14297
|
+
]
|
|
14298
|
+
},
|
|
14299
|
+
{
|
|
14300
|
+
"name": "onUpdated",
|
|
14301
|
+
"permissions": [
|
|
14302
|
+
"messagesTagsList"
|
|
14303
|
+
],
|
|
14304
|
+
"type": "function",
|
|
14305
|
+
"description": "Fired when one or more properties of a message tag have been updated.",
|
|
14306
|
+
"parameters": [
|
|
14307
|
+
{
|
|
14308
|
+
"type": "string",
|
|
14309
|
+
"name": "key",
|
|
14310
|
+
"description": "Unique tag identifier of the updated message tag."
|
|
14311
|
+
},
|
|
14312
|
+
{
|
|
14313
|
+
"name": "changedProperties",
|
|
14314
|
+
"$ref": "messages.tags.MessageTagProperties",
|
|
14315
|
+
"description": "The changed message tag properties."
|
|
14316
|
+
},
|
|
14317
|
+
{
|
|
14318
|
+
"name": "oldProperties",
|
|
14319
|
+
"$ref": "messages.tags.MessageTagProperties",
|
|
14320
|
+
"description": "The old values of the changed message tag properties."
|
|
14321
|
+
}
|
|
14322
|
+
]
|
|
14323
|
+
},
|
|
14324
|
+
{
|
|
14325
|
+
"name": "onDeleted",
|
|
14326
|
+
"type": "function",
|
|
14327
|
+
"description": "Fired when a message tag has been deleted.",
|
|
14328
|
+
"permissions": [
|
|
14329
|
+
"accountsRead"
|
|
14330
|
+
],
|
|
14331
|
+
"parameters": [
|
|
14332
|
+
{
|
|
14333
|
+
"type": "string",
|
|
14334
|
+
"name": "key",
|
|
14335
|
+
"description": "Unique tag identifier of the deleted message tag."
|
|
14336
|
+
}
|
|
14337
|
+
]
|
|
14338
|
+
}
|
|
14339
|
+
],
|
|
14213
14340
|
"functions": [
|
|
14214
14341
|
{
|
|
14215
14342
|
"name": "list",
|
|
@@ -14238,7 +14365,7 @@
|
|
|
14238
14365
|
{
|
|
14239
14366
|
"name": "create",
|
|
14240
14367
|
"type": "function",
|
|
14241
|
-
"description": "Creates a new message tag. Tagging a message will store the tag's key in the user's message. Throws if the specified tag key is used already.",
|
|
14368
|
+
"description": "Creates a new message tag and returns the associated key. Tagging a message will store the tag's key in the user's message. Throws if the specified tag key is used already.",
|
|
14242
14369
|
"async": true,
|
|
14243
14370
|
"permissions": [
|
|
14244
14371
|
"messagesTags"
|
|
@@ -14247,7 +14374,8 @@
|
|
|
14247
14374
|
{
|
|
14248
14375
|
"type": "string",
|
|
14249
14376
|
"name": "key",
|
|
14250
|
-
"
|
|
14377
|
+
"optional": true,
|
|
14378
|
+
"description": "Unique tag identifier (will be converted to lower case). Must not include <var>()<>{/%*\"</var> or spaces. Will be auto-generated if not provided.",
|
|
14251
14379
|
"pattern": "^[^ ()/{%*<>\"]+$"
|
|
14252
14380
|
},
|
|
14253
14381
|
{
|
|
@@ -14258,8 +14386,19 @@
|
|
|
14258
14386
|
{
|
|
14259
14387
|
"type": "string",
|
|
14260
14388
|
"name": "color",
|
|
14261
|
-
"description": "Tag color in hex format (i.e.:
|
|
14389
|
+
"description": "Tag color in hex format (i.e.: <var>#000080</var> for navy blue).",
|
|
14262
14390
|
"pattern": "^#[0-9a-fA-F]{6}"
|
|
14391
|
+
},
|
|
14392
|
+
{
|
|
14393
|
+
"type": "function",
|
|
14394
|
+
"name": "callback",
|
|
14395
|
+
"optional": true,
|
|
14396
|
+
"parameters": [
|
|
14397
|
+
{
|
|
14398
|
+
"type": "string",
|
|
14399
|
+
"name": "key"
|
|
14400
|
+
}
|
|
14401
|
+
]
|
|
14263
14402
|
}
|
|
14264
14403
|
]
|
|
14265
14404
|
},
|
|
@@ -14279,21 +14418,8 @@
|
|
|
14279
14418
|
"pattern": "^[^ ()/{%*<>\"]+$"
|
|
14280
14419
|
},
|
|
14281
14420
|
{
|
|
14282
|
-
"type": "object",
|
|
14283
14421
|
"name": "updateProperties",
|
|
14284
|
-
"
|
|
14285
|
-
"tag": {
|
|
14286
|
-
"type": "string",
|
|
14287
|
-
"optional": true,
|
|
14288
|
-
"description": "Human-readable tag name."
|
|
14289
|
-
},
|
|
14290
|
-
"color": {
|
|
14291
|
-
"type": "string",
|
|
14292
|
-
"pattern": "^#[0-9a-fA-F]{6}",
|
|
14293
|
-
"description": "Tag color in hex format (i.e.: #000080 for navy blue). Value will be stored as upper case.",
|
|
14294
|
-
"optional": true
|
|
14295
|
-
}
|
|
14296
|
-
}
|
|
14422
|
+
"$ref": "messages.tags.MessageTagProperties"
|
|
14297
14423
|
}
|
|
14298
14424
|
]
|
|
14299
14425
|
},
|
|
@@ -14411,6 +14537,16 @@
|
|
|
14411
14537
|
"type": "string",
|
|
14412
14538
|
"optional": true,
|
|
14413
14539
|
"description": "The <a href='url-cookieStore'>CookieStore</a> id used by the tab. Either a custom id created using the <a href='url-contextualIdentity'>contextualIdentities API</a>, or a built-in one: <var>firefox-default</var>, <var>firefox-container-1</var>, <var>firefox-container-2</var>, <var>firefox-container-3</var>, <var>firefox-container-4</var>, <var>firefox-container-5</var>. **Note:** The naming pattern was deliberately not changed for Thunderbird, but kept for compatibility reasons. The <permission>cookies</permission> permission is required to be able to specify this property. Furthermore, the <permission>contextualIdentities</permission> permission should be requested, to enable the contextual identities feature (enabled by default only on Thunderbird Daily)."
|
|
14540
|
+
},
|
|
14541
|
+
"linkHandler": {
|
|
14542
|
+
"type": "string",
|
|
14543
|
+
"enum": [
|
|
14544
|
+
"strict",
|
|
14545
|
+
"balanced",
|
|
14546
|
+
"relaxed"
|
|
14547
|
+
],
|
|
14548
|
+
"optional": true,
|
|
14549
|
+
"description": "Thunderbird is a mail client, not a browser. It is possible to load a web page, but opening follow-up pages through hyperlinks should be handled by the user's default browser. This property specifies to what extent this behavior should be enforced. The default <var>balanced</var> link handler will open links to the same host directly in Thunderbird, everything else will be opened in the user's default browser. A <var>relaxed</var> link handler will open all links inside of Thunderbird, a <var>strict</var> link handler will open all links in the user's default browser, except links to the same page."
|
|
14414
14550
|
}
|
|
14415
14551
|
}
|
|
14416
14552
|
},
|
|
@@ -15323,6 +15459,16 @@
|
|
|
15323
15459
|
"optional": true,
|
|
15324
15460
|
"description": "The <a href='url-cookieStore'>CookieStore</a> id the new tab should use. Either a custom id created using the <a href='url-contextualIdentity'>contextualIdentities API</a>, or a built-in one: <var>firefox-default</var>, <var>firefox-container-1</var>, <var>firefox-container-2</var>, <var>firefox-container-3</var>, <var>firefox-container-4</var>, <var>firefox-container-5</var>. **Note:** The naming pattern was deliberately not changed for Thunderbird, but kept for compatibility reasons. The <permission>cookies</permission> permission is required to be able to specify this property. Furthermore, the <permission>contextualIdentities</permission> permission should be requested, to enable the contextual identities feature (enabled by default only on Thunderbird Daily)."
|
|
15325
15461
|
},
|
|
15462
|
+
"linkHandler": {
|
|
15463
|
+
"type": "string",
|
|
15464
|
+
"enum": [
|
|
15465
|
+
"strict",
|
|
15466
|
+
"balanced",
|
|
15467
|
+
"relaxed"
|
|
15468
|
+
],
|
|
15469
|
+
"optional": true,
|
|
15470
|
+
"description": "Thunderbird is a mail client, not a browser. It is possible to load a web page, but opening follow-up pages through hyperlinks should be handled by the user's default browser. This property specifies to what extent this behavior should be enforced. The default <var>balanced</var> link handler will open links to the same host directly in Thunderbird, everything else will be opened in the user's default browser. A <var>relaxed</var> link handler will open all links inside of Thunderbird, a <var>strict</var> link handler will open all links in the user's default browser, except links to the same page."
|
|
15471
|
+
},
|
|
15326
15472
|
"selected": {
|
|
15327
15473
|
"deprecated": "Please use <var>createProperties.active</var>.",
|
|
15328
15474
|
"unsupported": true,
|
|
@@ -16536,6 +16682,16 @@
|
|
|
16536
16682
|
"optional": true,
|
|
16537
16683
|
"description": "The <a href='url-cookieStore'>CookieStore</a> id which all initially opened tabs should use. Either a custom id created using the <a href='url-contextualIdentity'>contextualIdentities API</a>, or a built-in one: <var>firefox-default</var>, <var>firefox-container-1</var>, <var>firefox-container-2</var>, <var>firefox-container-3</var>, <var>firefox-container-4</var>, <var>firefox-container-5</var>. **Note:** The naming pattern was deliberately not changed for Thunderbird, but kept for compatibility reasons. The <permission>cookies</permission> permission is required to be able to specify this property. Furthermore, the <permission>contextualIdentities</permission> permission should be requested, to enable the contextual identities feature (enabled by default only on Thunderbird Daily)."
|
|
16538
16684
|
},
|
|
16685
|
+
"linkHandler": {
|
|
16686
|
+
"type": "string",
|
|
16687
|
+
"enum": [
|
|
16688
|
+
"strict",
|
|
16689
|
+
"balanced",
|
|
16690
|
+
"relaxed"
|
|
16691
|
+
],
|
|
16692
|
+
"optional": true,
|
|
16693
|
+
"description": "Thunderbird is a mail client, not a browser. It is possible to load a web page, but opening follow-up pages through hyperlinks should be handled by the user's default browser. This property specifies to what extent this behavior should be enforced. The default <var>balanced</var> link handler will open links to the same host directly in Thunderbird, everything else will be opened in the user's default browser. A <var>relaxed</var> link handler will open all links inside of Thunderbird, a <var>strict</var> link handler will open all links in the user's default browser, except links to the same page."
|
|
16694
|
+
},
|
|
16539
16695
|
"titlePreface": {
|
|
16540
16696
|
"type": "string",
|
|
16541
16697
|
"optional": true,
|
|
@@ -9590,6 +9590,7 @@
|
|
|
9590
9590
|
"imageset",
|
|
9591
9591
|
"web_manifest",
|
|
9592
9592
|
"speculative",
|
|
9593
|
+
"json",
|
|
9593
9594
|
"other"
|
|
9594
9595
|
]
|
|
9595
9596
|
},
|
|
@@ -12398,7 +12399,8 @@
|
|
|
12398
12399
|
"bandwidth",
|
|
12399
12400
|
"memory",
|
|
12400
12401
|
"tracing",
|
|
12401
|
-
"sandbox"
|
|
12402
|
+
"sandbox",
|
|
12403
|
+
"flows"
|
|
12402
12404
|
]
|
|
12403
12405
|
},
|
|
12404
12406
|
{
|
|
@@ -20423,6 +20425,7 @@
|
|
|
20423
20425
|
"imageset",
|
|
20424
20426
|
"web_manifest",
|
|
20425
20427
|
"speculative",
|
|
20428
|
+
"json",
|
|
20426
20429
|
"other"
|
|
20427
20430
|
]
|
|
20428
20431
|
},
|