webext-schema 5.1.15 → 5.2.0
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/modules/update.js +1 -1
- package/package.json +15 -12
- package/schemas/beta/webext.json +81 -8
- package/schemas/central/webext.json +81 -8
- package/schemas/esr/webext.json +1178 -149
- package/schemas/mail/mailext.json +545 -139
- package/schemas/release/webext.json +43 -10
- package/types/modules/update.d.ts +1 -1
|
@@ -916,6 +916,31 @@
|
|
|
916
916
|
"type": "string"
|
|
917
917
|
}
|
|
918
918
|
]
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "onChanged",
|
|
922
|
+
"description": "Fired when a registered command's shortcut is changed.",
|
|
923
|
+
"type": "function",
|
|
924
|
+
"parameters": [
|
|
925
|
+
{
|
|
926
|
+
"type": "object",
|
|
927
|
+
"name": "changeInfo",
|
|
928
|
+
"properties": {
|
|
929
|
+
"name": {
|
|
930
|
+
"type": "string",
|
|
931
|
+
"description": "The name of the shortcut."
|
|
932
|
+
},
|
|
933
|
+
"newShortcut": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"description": "The new shortcut active for this command, or blank if not active."
|
|
936
|
+
},
|
|
937
|
+
"oldShortcut": {
|
|
938
|
+
"type": "string",
|
|
939
|
+
"description": "The old shortcut which is no longer active for this command, or blank if the shortcut was previously inactive."
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
]
|
|
919
944
|
}
|
|
920
945
|
],
|
|
921
946
|
"functions": [
|
|
@@ -4029,7 +4054,7 @@
|
|
|
4029
4054
|
"browser_style": {
|
|
4030
4055
|
"type": "boolean",
|
|
4031
4056
|
"optional": true,
|
|
4032
|
-
"
|
|
4057
|
+
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3."
|
|
4033
4058
|
},
|
|
4034
4059
|
"default_panel": {
|
|
4035
4060
|
"type": "string",
|
|
@@ -7652,7 +7677,7 @@
|
|
|
7652
7677
|
"browser_style": {
|
|
7653
7678
|
"type": "boolean",
|
|
7654
7679
|
"optional": true,
|
|
7655
|
-
"
|
|
7680
|
+
"description": "Deprecated in Manifest V3."
|
|
7656
7681
|
},
|
|
7657
7682
|
"default_area": {
|
|
7658
7683
|
"description": "Defines the location the browserAction will appear by default. The default location is navbar.",
|
|
@@ -13684,11 +13709,13 @@
|
|
|
13684
13709
|
"browser_style": {
|
|
13685
13710
|
"type": "boolean",
|
|
13686
13711
|
"optional": true,
|
|
13687
|
-
"
|
|
13712
|
+
"description": "Defaults to true in Manifest V2; Deprecated in Manifest V3."
|
|
13688
13713
|
},
|
|
13689
13714
|
"chrome_style": {
|
|
13690
13715
|
"type": "boolean",
|
|
13691
|
-
"optional": true
|
|
13716
|
+
"optional": true,
|
|
13717
|
+
"max_manifest_version": 2,
|
|
13718
|
+
"description": "chrome_style is ignored in Firefox. Its replacement (browser_style) has been deprecated."
|
|
13692
13719
|
},
|
|
13693
13720
|
"open_in_tab": {
|
|
13694
13721
|
"type": "boolean",
|
|
@@ -13696,8 +13723,7 @@
|
|
|
13696
13723
|
}
|
|
13697
13724
|
},
|
|
13698
13725
|
"additionalProperties": {
|
|
13699
|
-
"
|
|
13700
|
-
"deprecated": "An unexpected property was found in the WebExtension manifest"
|
|
13726
|
+
"$ref": "UnrecognizedProperty"
|
|
13701
13727
|
}
|
|
13702
13728
|
},
|
|
13703
13729
|
"content_scripts": {
|
|
@@ -13793,13 +13819,11 @@
|
|
|
13793
13819
|
"min_manifest_version": 3,
|
|
13794
13820
|
"type": "array",
|
|
13795
13821
|
"postprocess": "webAccessibleMatching",
|
|
13796
|
-
"minItems": 1,
|
|
13797
13822
|
"items": {
|
|
13798
13823
|
"type": "object",
|
|
13799
13824
|
"properties": {
|
|
13800
13825
|
"resources": {
|
|
13801
13826
|
"type": "array",
|
|
13802
|
-
"minItems": 1,
|
|
13803
13827
|
"items": {
|
|
13804
13828
|
"type": "string"
|
|
13805
13829
|
}
|
|
@@ -13807,7 +13831,6 @@
|
|
|
13807
13831
|
"matches": {
|
|
13808
13832
|
"optional": true,
|
|
13809
13833
|
"type": "array",
|
|
13810
|
-
"minItems": 1,
|
|
13811
13834
|
"items": {
|
|
13812
13835
|
"$ref": "MatchPattern"
|
|
13813
13836
|
}
|
|
@@ -13829,6 +13852,9 @@
|
|
|
13829
13852
|
]
|
|
13830
13853
|
}
|
|
13831
13854
|
}
|
|
13855
|
+
},
|
|
13856
|
+
"additionalProperties": {
|
|
13857
|
+
"$ref": "UnrecognizedProperty"
|
|
13832
13858
|
}
|
|
13833
13859
|
}
|
|
13834
13860
|
}
|
|
@@ -14958,7 +14984,7 @@
|
|
|
14958
14984
|
"browser_style": {
|
|
14959
14985
|
"type": "boolean",
|
|
14960
14986
|
"optional": true,
|
|
14961
|
-
"
|
|
14987
|
+
"description": "Deprecated in Manifest V3."
|
|
14962
14988
|
},
|
|
14963
14989
|
"show_matches": {
|
|
14964
14990
|
"type": "array",
|
|
@@ -17533,6 +17559,13 @@
|
|
|
17533
17559
|
"description": "The maximum size (in bytes) of the managed storage JSON manifest file. Files larger than this limit will fail to load."
|
|
17534
17560
|
}
|
|
17535
17561
|
}
|
|
17562
|
+
},
|
|
17563
|
+
"session": {
|
|
17564
|
+
"allowedContexts": [
|
|
17565
|
+
"devtools"
|
|
17566
|
+
],
|
|
17567
|
+
"$ref": "StorageArea",
|
|
17568
|
+
"description": "Items in the <code>session</code> storage area are kept in memory, and only until the either browser or extension is closed or reloaded."
|
|
17536
17569
|
}
|
|
17537
17570
|
}
|
|
17538
17571
|
}
|