webext-schema 2.0.1 → 2.0.5
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 +10 -4
- package/package.json +7 -7
- package/schemas/beta/webext.json +210 -49
- package/schemas/central/webext.json +206 -49
- package/schemas/mail/mailext.json +428 -61
- package/schemas/release/webext.json +10 -1
|
@@ -11731,7 +11731,9 @@
|
|
|
11731
11731
|
"js",
|
|
11732
11732
|
"leaf",
|
|
11733
11733
|
"mainthreadio",
|
|
11734
|
-
"
|
|
11734
|
+
"fileio",
|
|
11735
|
+
"fileioall",
|
|
11736
|
+
"noiostacks",
|
|
11735
11737
|
"screenshots",
|
|
11736
11738
|
"seqstyle",
|
|
11737
11739
|
"stackwalk",
|
|
@@ -11739,15 +11741,17 @@
|
|
|
11739
11741
|
"jstracer",
|
|
11740
11742
|
"jsallocations",
|
|
11741
11743
|
"nostacksampling",
|
|
11742
|
-
"nativeallocations",
|
|
11743
11744
|
"preferencereads",
|
|
11745
|
+
"nativeallocations",
|
|
11744
11746
|
"ipcmessages",
|
|
11745
|
-
"fileio",
|
|
11746
|
-
"fileioall",
|
|
11747
|
-
"noiostacks",
|
|
11748
11747
|
"audiocallbacktracing",
|
|
11749
11748
|
"cpu",
|
|
11750
|
-
"notimerresolutionchange"
|
|
11749
|
+
"notimerresolutionchange",
|
|
11750
|
+
"cpuallthreads",
|
|
11751
|
+
"samplingallthreads",
|
|
11752
|
+
"markersallthreads",
|
|
11753
|
+
"unregisteredthreads",
|
|
11754
|
+
"responsiveness"
|
|
11751
11755
|
]
|
|
11752
11756
|
},
|
|
11753
11757
|
{
|
|
@@ -12757,34 +12761,13 @@
|
|
|
12757
12761
|
"postprocess": "manifestVersionCheck"
|
|
12758
12762
|
},
|
|
12759
12763
|
"applications": {
|
|
12760
|
-
"
|
|
12761
|
-
"
|
|
12762
|
-
"
|
|
12763
|
-
"gecko": {
|
|
12764
|
-
"$ref": "FirefoxSpecificProperties",
|
|
12765
|
-
"optional": true
|
|
12766
|
-
}
|
|
12767
|
-
}
|
|
12764
|
+
"$ref": "BrowserSpecificSettings",
|
|
12765
|
+
"description": "The applications property is deprecated, please use 'browser_specific_settings'",
|
|
12766
|
+
"optional": true
|
|
12768
12767
|
},
|
|
12769
12768
|
"browser_specific_settings": {
|
|
12770
|
-
"
|
|
12771
|
-
"optional": true
|
|
12772
|
-
"properties": {
|
|
12773
|
-
"gecko": {
|
|
12774
|
-
"$ref": "FirefoxSpecificProperties",
|
|
12775
|
-
"optional": true
|
|
12776
|
-
},
|
|
12777
|
-
"edge": {
|
|
12778
|
-
"type": "object",
|
|
12779
|
-
"additionalProperties": {
|
|
12780
|
-
"type": "any"
|
|
12781
|
-
},
|
|
12782
|
-
"optional": true
|
|
12783
|
-
}
|
|
12784
|
-
},
|
|
12785
|
-
"additionalProperties": {
|
|
12786
|
-
"$ref": "UnrecognizedProperty"
|
|
12787
|
-
}
|
|
12769
|
+
"$ref": "BrowserSpecificSettings",
|
|
12770
|
+
"optional": true
|
|
12788
12771
|
},
|
|
12789
12772
|
"name": {
|
|
12790
12773
|
"type": "string",
|
|
@@ -12816,6 +12799,32 @@
|
|
|
12816
12799
|
"format": "url",
|
|
12817
12800
|
"optional": true,
|
|
12818
12801
|
"preprocess": "localize"
|
|
12802
|
+
},
|
|
12803
|
+
"install_origins": {
|
|
12804
|
+
"type": "array",
|
|
12805
|
+
"optional": true,
|
|
12806
|
+
"items": {
|
|
12807
|
+
"type": "string",
|
|
12808
|
+
"format": "origin"
|
|
12809
|
+
}
|
|
12810
|
+
},
|
|
12811
|
+
"developer": {
|
|
12812
|
+
"type": "object",
|
|
12813
|
+
"optional": true,
|
|
12814
|
+
"properties": {
|
|
12815
|
+
"name": {
|
|
12816
|
+
"type": "string",
|
|
12817
|
+
"optional": true,
|
|
12818
|
+
"preprocess": "localize"
|
|
12819
|
+
},
|
|
12820
|
+
"url": {
|
|
12821
|
+
"type": "string",
|
|
12822
|
+
"format": "url",
|
|
12823
|
+
"optional": true,
|
|
12824
|
+
"preprocess": "localize",
|
|
12825
|
+
"onError": "warn"
|
|
12826
|
+
}
|
|
12827
|
+
}
|
|
12819
12828
|
}
|
|
12820
12829
|
}
|
|
12821
12830
|
},
|
|
@@ -13031,22 +13040,6 @@
|
|
|
13031
13040
|
}
|
|
13032
13041
|
]
|
|
13033
13042
|
},
|
|
13034
|
-
"developer": {
|
|
13035
|
-
"type": "object",
|
|
13036
|
-
"optional": true,
|
|
13037
|
-
"properties": {
|
|
13038
|
-
"name": {
|
|
13039
|
-
"type": "string",
|
|
13040
|
-
"optional": true,
|
|
13041
|
-
"preprocess": "localize"
|
|
13042
|
-
},
|
|
13043
|
-
"url": {
|
|
13044
|
-
"type": "string",
|
|
13045
|
-
"optional": true,
|
|
13046
|
-
"preprocess": "localize"
|
|
13047
|
-
}
|
|
13048
|
-
}
|
|
13049
|
-
},
|
|
13050
13043
|
"hidden": {
|
|
13051
13044
|
"type": "boolean",
|
|
13052
13045
|
"optional": true,
|
|
@@ -13312,6 +13305,19 @@
|
|
|
13312
13305
|
}
|
|
13313
13306
|
}
|
|
13314
13307
|
},
|
|
13308
|
+
{
|
|
13309
|
+
"id": "BrowserSpecificSettings",
|
|
13310
|
+
"type": "object",
|
|
13311
|
+
"properties": {
|
|
13312
|
+
"gecko": {
|
|
13313
|
+
"$ref": "FirefoxSpecificProperties",
|
|
13314
|
+
"optional": true
|
|
13315
|
+
}
|
|
13316
|
+
},
|
|
13317
|
+
"additionalProperties": {
|
|
13318
|
+
"type": "any"
|
|
13319
|
+
}
|
|
13320
|
+
},
|
|
13315
13321
|
{
|
|
13316
13322
|
"id": "MatchPattern",
|
|
13317
13323
|
"choices": [
|
|
@@ -14927,6 +14933,10 @@
|
|
|
14927
14933
|
"httpsOnlyMode": {
|
|
14928
14934
|
"$ref": "types.Setting",
|
|
14929
14935
|
"description": "Allow users to query the mode for 'HTTPS-Only Mode'. This setting's value is of type HTTPSOnlyModeOption, defaulting to <code>never</code>."
|
|
14936
|
+
},
|
|
14937
|
+
"globalPrivacyControl": {
|
|
14938
|
+
"$ref": "types.Setting",
|
|
14939
|
+
"description": "Allow users to query the status of 'Global Privacy Control'. This setting's value is of type boolean, defaulting to <code>false</code>."
|
|
14930
14940
|
}
|
|
14931
14941
|
}
|
|
14932
14942
|
},
|
|
@@ -15353,6 +15363,27 @@
|
|
|
15353
15363
|
"description": "The fully-qualified URL to the resource."
|
|
15354
15364
|
}
|
|
15355
15365
|
},
|
|
15366
|
+
{
|
|
15367
|
+
"name": "getFrameId",
|
|
15368
|
+
"type": "function",
|
|
15369
|
+
"allowedContexts": [
|
|
15370
|
+
"content",
|
|
15371
|
+
"devtools"
|
|
15372
|
+
],
|
|
15373
|
+
"description": "Get the frameId of any window global or frame element.",
|
|
15374
|
+
"parameters": [
|
|
15375
|
+
{
|
|
15376
|
+
"type": "any",
|
|
15377
|
+
"name": "target",
|
|
15378
|
+
"description": "A WindowProxy or a Browsing Context container element (IFrame, Frame, Embed, Object) for the target frame."
|
|
15379
|
+
}
|
|
15380
|
+
],
|
|
15381
|
+
"allowCrossOriginArguments": true,
|
|
15382
|
+
"returns": {
|
|
15383
|
+
"type": "number",
|
|
15384
|
+
"description": "The frameId of the target frame, or -1 if it doesn't exist."
|
|
15385
|
+
}
|
|
15386
|
+
},
|
|
15356
15387
|
{
|
|
15357
15388
|
"name": "setUninstallURL",
|
|
15358
15389
|
"type": "function",
|
|
@@ -15807,6 +15838,131 @@
|
|
|
15807
15838
|
]
|
|
15808
15839
|
}
|
|
15809
15840
|
],
|
|
15841
|
+
"scripting.json": [
|
|
15842
|
+
{
|
|
15843
|
+
"namespace": "manifest",
|
|
15844
|
+
"types": [
|
|
15845
|
+
{
|
|
15846
|
+
"$extend": "OptionalPermissionNoPrompt",
|
|
15847
|
+
"choices": [
|
|
15848
|
+
{
|
|
15849
|
+
"type": "string",
|
|
15850
|
+
"enum": [
|
|
15851
|
+
"scripting"
|
|
15852
|
+
],
|
|
15853
|
+
"min_manifest_version": 3
|
|
15854
|
+
}
|
|
15855
|
+
]
|
|
15856
|
+
}
|
|
15857
|
+
]
|
|
15858
|
+
},
|
|
15859
|
+
{
|
|
15860
|
+
"namespace": "scripting",
|
|
15861
|
+
"description": "Use the scripting API to execute script in different contexts.",
|
|
15862
|
+
"permissions": [
|
|
15863
|
+
"scripting"
|
|
15864
|
+
],
|
|
15865
|
+
"min_manifest_version": 3,
|
|
15866
|
+
"types": [
|
|
15867
|
+
{
|
|
15868
|
+
"id": "ScriptInjection",
|
|
15869
|
+
"type": "object",
|
|
15870
|
+
"description": "Details of a script injection",
|
|
15871
|
+
"properties": {
|
|
15872
|
+
"args": {
|
|
15873
|
+
"type": "array",
|
|
15874
|
+
"optional": true,
|
|
15875
|
+
"description": "The arguments to curry into a provided function. This is only valid if the <code>func</code> parameter is specified. These arguments must be JSON-serializable.",
|
|
15876
|
+
"items": {
|
|
15877
|
+
"type": "any"
|
|
15878
|
+
}
|
|
15879
|
+
},
|
|
15880
|
+
"files": {
|
|
15881
|
+
"type": "array",
|
|
15882
|
+
"optional": true,
|
|
15883
|
+
"description": "The path of the JS or CSS files to inject, relative to the extension's root directory. Exactly one of <code>files</code> and <code>func</code> must be specified.",
|
|
15884
|
+
"minItems": 1,
|
|
15885
|
+
"items": {
|
|
15886
|
+
"type": "string"
|
|
15887
|
+
}
|
|
15888
|
+
},
|
|
15889
|
+
"func": {
|
|
15890
|
+
"type": "function",
|
|
15891
|
+
"optional": true,
|
|
15892
|
+
"description": "A JavaScript function to inject. This function will be serialized, and then deserialized for injection. This means that any bound parameters and execution context will be lost. Exactly one of <code>files</code> and <code>func</code> must be specified."
|
|
15893
|
+
},
|
|
15894
|
+
"target": {
|
|
15895
|
+
"$ref": "InjectionTarget",
|
|
15896
|
+
"description": "Details specifying the target into which to inject the script."
|
|
15897
|
+
}
|
|
15898
|
+
}
|
|
15899
|
+
},
|
|
15900
|
+
{
|
|
15901
|
+
"id": "InjectionResult",
|
|
15902
|
+
"type": "object",
|
|
15903
|
+
"description": "Result of a script injection.",
|
|
15904
|
+
"properties": {
|
|
15905
|
+
"frameId": {
|
|
15906
|
+
"type": "number",
|
|
15907
|
+
"description": "The frame ID associated with the injection."
|
|
15908
|
+
},
|
|
15909
|
+
"result": {
|
|
15910
|
+
"type": "any",
|
|
15911
|
+
"optional": true,
|
|
15912
|
+
"description": "The result of the script execution."
|
|
15913
|
+
}
|
|
15914
|
+
}
|
|
15915
|
+
},
|
|
15916
|
+
{
|
|
15917
|
+
"id": "InjectionTarget",
|
|
15918
|
+
"type": "object",
|
|
15919
|
+
"properties": {
|
|
15920
|
+
"frameIds": {
|
|
15921
|
+
"type": "array",
|
|
15922
|
+
"optional": true,
|
|
15923
|
+
"description": "The IDs of specific frames to inject into.",
|
|
15924
|
+
"items": {
|
|
15925
|
+
"type": "number"
|
|
15926
|
+
}
|
|
15927
|
+
},
|
|
15928
|
+
"tabId": {
|
|
15929
|
+
"type": "number",
|
|
15930
|
+
"description": "The ID of the tab into which to inject."
|
|
15931
|
+
}
|
|
15932
|
+
}
|
|
15933
|
+
}
|
|
15934
|
+
],
|
|
15935
|
+
"functions": [
|
|
15936
|
+
{
|
|
15937
|
+
"name": "executeScript",
|
|
15938
|
+
"type": "function",
|
|
15939
|
+
"description": "Injects a script into a target context. The script will be run at <code>document_idle</code>.",
|
|
15940
|
+
"async": "callback",
|
|
15941
|
+
"parameters": [
|
|
15942
|
+
{
|
|
15943
|
+
"name": "injection",
|
|
15944
|
+
"$ref": "ScriptInjection",
|
|
15945
|
+
"description": "The details of the script which to inject."
|
|
15946
|
+
},
|
|
15947
|
+
{
|
|
15948
|
+
"name": "callback",
|
|
15949
|
+
"type": "function",
|
|
15950
|
+
"description": "Invoked upon completion of the injection. The resulting array contains the result of execution for each frame where the injection succeeded.",
|
|
15951
|
+
"parameters": [
|
|
15952
|
+
{
|
|
15953
|
+
"name": "results",
|
|
15954
|
+
"type": "array",
|
|
15955
|
+
"items": {
|
|
15956
|
+
"$ref": "InjectionResult"
|
|
15957
|
+
}
|
|
15958
|
+
}
|
|
15959
|
+
]
|
|
15960
|
+
}
|
|
15961
|
+
]
|
|
15962
|
+
}
|
|
15963
|
+
]
|
|
15964
|
+
}
|
|
15965
|
+
],
|
|
15810
15966
|
"storage.json": [
|
|
15811
15967
|
{
|
|
15812
15968
|
"namespace": "storage",
|
|
@@ -18508,7 +18664,8 @@
|
|
|
18508
18664
|
"type": "string",
|
|
18509
18665
|
"enum": [
|
|
18510
18666
|
"webRequest",
|
|
18511
|
-
"webRequestBlocking"
|
|
18667
|
+
"webRequestBlocking",
|
|
18668
|
+
"webRequestFilterResponse.serviceWorkerScript"
|
|
18512
18669
|
]
|
|
18513
18670
|
}
|
|
18514
18671
|
]
|