webext-schema 5.5.5 → 5.6.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 +32 -20
- package/package.json +21 -21
- package/schemas/beta/webext.json +482 -1
- package/schemas/central/webext.json +495 -4
- package/schemas/esr/webext.json +341 -497
- package/schemas/mail/mailext.json +103 -1
- package/schemas/release/webext.json +114 -3
- package/types/modules/update.d.ts +1 -1
package/schemas/esr/webext.json
CHANGED
|
@@ -750,7 +750,6 @@
|
|
|
750
750
|
},
|
|
751
751
|
"params": {
|
|
752
752
|
"optional": true,
|
|
753
|
-
"max_manifest_version": 2,
|
|
754
753
|
"type": "array",
|
|
755
754
|
"items": {
|
|
756
755
|
"type": "object",
|
|
@@ -915,12 +914,6 @@
|
|
|
915
914
|
{
|
|
916
915
|
"name": "command",
|
|
917
916
|
"type": "string"
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
"name": "tab",
|
|
921
|
-
"$ref": "tabs.Tab",
|
|
922
|
-
"optional": true,
|
|
923
|
-
"description": "Details of the $(ref:tabs.Tab) where the command was activated."
|
|
924
917
|
}
|
|
925
918
|
]
|
|
926
919
|
},
|
|
@@ -4470,11 +4463,6 @@
|
|
|
4470
4463
|
"optional": true,
|
|
4471
4464
|
"description": "Whether the tab has produced sound over the past couple of seconds (but it might not be heard if also muted). Equivalent to whether the speaker audio indicator is showing."
|
|
4472
4465
|
},
|
|
4473
|
-
"autoDiscardable": {
|
|
4474
|
-
"type": "boolean",
|
|
4475
|
-
"optional": true,
|
|
4476
|
-
"description": "Whether the tab can be discarded automatically by the browser when resources are low."
|
|
4477
|
-
},
|
|
4478
4466
|
"mutedInfo": {
|
|
4479
4467
|
"$ref": "MutedInfo",
|
|
4480
4468
|
"optional": true,
|
|
@@ -4776,7 +4764,6 @@
|
|
|
4776
4764
|
"enum": [
|
|
4777
4765
|
"attention",
|
|
4778
4766
|
"audible",
|
|
4779
|
-
"autoDiscardable",
|
|
4780
4767
|
"discarded",
|
|
4781
4768
|
"favIconUrl",
|
|
4782
4769
|
"hidden",
|
|
@@ -5108,11 +5095,6 @@
|
|
|
5108
5095
|
"optional": true,
|
|
5109
5096
|
"description": "Whether the tabs are audible."
|
|
5110
5097
|
},
|
|
5111
|
-
"autoDiscardable": {
|
|
5112
|
-
"type": "boolean",
|
|
5113
|
-
"optional": true,
|
|
5114
|
-
"description": "Whether the tab can be discarded automatically by the browser when resources are low."
|
|
5115
|
-
},
|
|
5116
5098
|
"muted": {
|
|
5117
5099
|
"type": "boolean",
|
|
5118
5100
|
"optional": true,
|
|
@@ -5330,11 +5312,6 @@
|
|
|
5330
5312
|
"optional": true,
|
|
5331
5313
|
"description": "Whether the tab should be active. Does not affect whether the window is focused (see $(ref:windows.update))."
|
|
5332
5314
|
},
|
|
5333
|
-
"autoDiscardable": {
|
|
5334
|
-
"type": "boolean",
|
|
5335
|
-
"optional": true,
|
|
5336
|
-
"description": "Whether the tab can be discarded automatically by the browser when resources are low."
|
|
5337
|
-
},
|
|
5338
5315
|
"highlighted": {
|
|
5339
5316
|
"type": "boolean",
|
|
5340
5317
|
"optional": true,
|
|
@@ -5619,10 +5596,9 @@
|
|
|
5619
5596
|
{
|
|
5620
5597
|
"name": "captureVisibleTab",
|
|
5621
5598
|
"type": "function",
|
|
5622
|
-
"description": "Captures an area of the currently active tab in the specified window. You must have <all_urls>
|
|
5599
|
+
"description": "Captures an area of the currently active tab in the specified window. You must have $(topic:declare_permissions)[<all_urls>] permission to use this method.",
|
|
5623
5600
|
"permissions": [
|
|
5624
|
-
"<all_urls>"
|
|
5625
|
-
"activeTab"
|
|
5601
|
+
"<all_urls>"
|
|
5626
5602
|
],
|
|
5627
5603
|
"async": "callback",
|
|
5628
5604
|
"parameters": [
|
|
@@ -6082,11 +6058,6 @@
|
|
|
6082
6058
|
"optional": true,
|
|
6083
6059
|
"description": "The tab's new audible state."
|
|
6084
6060
|
},
|
|
6085
|
-
"autoDiscardable": {
|
|
6086
|
-
"type": "boolean",
|
|
6087
|
-
"optional": true,
|
|
6088
|
-
"description": "The tab's new autoDiscardable state."
|
|
6089
|
-
},
|
|
6090
6061
|
"discarded": {
|
|
6091
6062
|
"type": "boolean",
|
|
6092
6063
|
"optional": true,
|
|
@@ -6550,6 +6521,307 @@
|
|
|
6550
6521
|
]
|
|
6551
6522
|
}
|
|
6552
6523
|
],
|
|
6524
|
+
"urlbar.json": [
|
|
6525
|
+
{
|
|
6526
|
+
"namespace": "manifest",
|
|
6527
|
+
"types": [
|
|
6528
|
+
{
|
|
6529
|
+
"$extend": "PermissionPrivileged",
|
|
6530
|
+
"choices": [
|
|
6531
|
+
{
|
|
6532
|
+
"type": "string",
|
|
6533
|
+
"enum": [
|
|
6534
|
+
"urlbar"
|
|
6535
|
+
]
|
|
6536
|
+
}
|
|
6537
|
+
]
|
|
6538
|
+
}
|
|
6539
|
+
]
|
|
6540
|
+
},
|
|
6541
|
+
{
|
|
6542
|
+
"namespace": "urlbar",
|
|
6543
|
+
"description": "Use the <code>browser.urlbar</code> API to experiment with new features in the URLBar. Restricted to Mozilla privileged WebExtensions.",
|
|
6544
|
+
"permissions": [
|
|
6545
|
+
"urlbar"
|
|
6546
|
+
],
|
|
6547
|
+
"types": [
|
|
6548
|
+
{
|
|
6549
|
+
"id": "EngagementState",
|
|
6550
|
+
"type": "string",
|
|
6551
|
+
"enum": [
|
|
6552
|
+
"start",
|
|
6553
|
+
"engagement",
|
|
6554
|
+
"abandonment",
|
|
6555
|
+
"discard"
|
|
6556
|
+
],
|
|
6557
|
+
"description": "The state of an engagement made with the urlbar by the user. <code>start</code>: The user has started an engagement. <code>engagement</code>: The user has completed an engagement by picking a result. <code>abandonment</code>: The user has abandoned their engagement, for example by blurring the urlbar. <code>discard</code>: The engagement ended in a way that should be ignored by listeners."
|
|
6558
|
+
},
|
|
6559
|
+
{
|
|
6560
|
+
"id": "Query",
|
|
6561
|
+
"type": "object",
|
|
6562
|
+
"description": "A query performed in the urlbar.",
|
|
6563
|
+
"properties": {
|
|
6564
|
+
"isPrivate": {
|
|
6565
|
+
"type": "boolean",
|
|
6566
|
+
"description": "Whether the query's browser context is private."
|
|
6567
|
+
},
|
|
6568
|
+
"maxResults": {
|
|
6569
|
+
"type": "integer",
|
|
6570
|
+
"description": "The maximum number of results shown to the user."
|
|
6571
|
+
},
|
|
6572
|
+
"searchString": {
|
|
6573
|
+
"type": "string",
|
|
6574
|
+
"description": "The query's search string."
|
|
6575
|
+
},
|
|
6576
|
+
"sources": {
|
|
6577
|
+
"type": "array",
|
|
6578
|
+
"description": "List of acceptable source types to return.",
|
|
6579
|
+
"items": {
|
|
6580
|
+
"$ref": "SourceType"
|
|
6581
|
+
}
|
|
6582
|
+
}
|
|
6583
|
+
}
|
|
6584
|
+
},
|
|
6585
|
+
{
|
|
6586
|
+
"id": "Result",
|
|
6587
|
+
"type": "object",
|
|
6588
|
+
"description": "A result of a query. Queries can have many results. Each result is created by a provider.",
|
|
6589
|
+
"properties": {
|
|
6590
|
+
"payload": {
|
|
6591
|
+
"type": "object",
|
|
6592
|
+
"description": "An object with arbitrary properties depending on the result's type."
|
|
6593
|
+
},
|
|
6594
|
+
"source": {
|
|
6595
|
+
"$ref": "SourceType",
|
|
6596
|
+
"description": "The result's source."
|
|
6597
|
+
},
|
|
6598
|
+
"type": {
|
|
6599
|
+
"$ref": "ResultType",
|
|
6600
|
+
"description": "The result's type."
|
|
6601
|
+
},
|
|
6602
|
+
"suggestedIndex": {
|
|
6603
|
+
"type": "integer",
|
|
6604
|
+
"description": "Suggest a preferred position for this result within the result set.",
|
|
6605
|
+
"optional": true,
|
|
6606
|
+
"default": -1
|
|
6607
|
+
}
|
|
6608
|
+
}
|
|
6609
|
+
},
|
|
6610
|
+
{
|
|
6611
|
+
"id": "ResultType",
|
|
6612
|
+
"type": "string",
|
|
6613
|
+
"enum": [
|
|
6614
|
+
"dynamic",
|
|
6615
|
+
"remote_tab",
|
|
6616
|
+
"search",
|
|
6617
|
+
"tab",
|
|
6618
|
+
"tip",
|
|
6619
|
+
"url"
|
|
6620
|
+
],
|
|
6621
|
+
"description": "Possible types of results. <code>dynamic</code>: A result whose view and payload are specified by the extension. <code>remote_tab</code>: A synced tab from another device. <code>search</code>: A search suggestion from a search engine. <code>tab</code>: An open tab in the browser. <code>tip</code>: An actionable message to help the user with their query. <code>url</code>: A URL that's not one of the other types."
|
|
6622
|
+
},
|
|
6623
|
+
{
|
|
6624
|
+
"id": "SearchOptions",
|
|
6625
|
+
"type": "object",
|
|
6626
|
+
"description": "Options to the <code>search</code> function.",
|
|
6627
|
+
"properties": {
|
|
6628
|
+
"focus": {
|
|
6629
|
+
"type": "boolean",
|
|
6630
|
+
"optional": true,
|
|
6631
|
+
"default": true,
|
|
6632
|
+
"description": "Whether to focus the input field and select its contents."
|
|
6633
|
+
}
|
|
6634
|
+
}
|
|
6635
|
+
},
|
|
6636
|
+
{
|
|
6637
|
+
"id": "SourceType",
|
|
6638
|
+
"type": "string",
|
|
6639
|
+
"enum": [
|
|
6640
|
+
"bookmarks",
|
|
6641
|
+
"history",
|
|
6642
|
+
"local",
|
|
6643
|
+
"network",
|
|
6644
|
+
"search",
|
|
6645
|
+
"tabs"
|
|
6646
|
+
],
|
|
6647
|
+
"description": "Possible sources of results. <code>bookmarks</code>: The result comes from the user's bookmarks. <code>history</code>: The result comes from the user's history. <code>local</code>: The result comes from some local source not covered by another source type. <code>network</code>: The result comes from some network source not covered by another source type. <code>search</code>: The result comes from a search engine. <code>tabs</code>: The result is an open tab in the browser or a synced tab from another device."
|
|
6648
|
+
}
|
|
6649
|
+
],
|
|
6650
|
+
"properties": {
|
|
6651
|
+
"engagementTelemetry": {
|
|
6652
|
+
"$ref": "types.Setting",
|
|
6653
|
+
"description": "Enables or disables the engagement telemetry."
|
|
6654
|
+
}
|
|
6655
|
+
},
|
|
6656
|
+
"functions": [
|
|
6657
|
+
{
|
|
6658
|
+
"name": "closeView",
|
|
6659
|
+
"type": "function",
|
|
6660
|
+
"async": true,
|
|
6661
|
+
"description": "Closes the urlbar view in the current window.",
|
|
6662
|
+
"parameters": []
|
|
6663
|
+
},
|
|
6664
|
+
{
|
|
6665
|
+
"name": "focus",
|
|
6666
|
+
"type": "function",
|
|
6667
|
+
"async": true,
|
|
6668
|
+
"description": "Focuses the urlbar in the current window.",
|
|
6669
|
+
"parameters": [
|
|
6670
|
+
{
|
|
6671
|
+
"name": "select",
|
|
6672
|
+
"type": "boolean",
|
|
6673
|
+
"optional": true,
|
|
6674
|
+
"default": false,
|
|
6675
|
+
"description": "If true, the text in the urlbar will also be selected."
|
|
6676
|
+
}
|
|
6677
|
+
]
|
|
6678
|
+
},
|
|
6679
|
+
{
|
|
6680
|
+
"name": "search",
|
|
6681
|
+
"type": "function",
|
|
6682
|
+
"async": true,
|
|
6683
|
+
"description": "Starts a search in the urlbar in the current window.",
|
|
6684
|
+
"parameters": [
|
|
6685
|
+
{
|
|
6686
|
+
"name": "searchString",
|
|
6687
|
+
"type": "string",
|
|
6688
|
+
"description": "The search string."
|
|
6689
|
+
},
|
|
6690
|
+
{
|
|
6691
|
+
"name": "options",
|
|
6692
|
+
"$ref": "SearchOptions",
|
|
6693
|
+
"optional": true,
|
|
6694
|
+
"default": {},
|
|
6695
|
+
"description": "Options for the search."
|
|
6696
|
+
}
|
|
6697
|
+
]
|
|
6698
|
+
}
|
|
6699
|
+
],
|
|
6700
|
+
"events": [
|
|
6701
|
+
{
|
|
6702
|
+
"name": "onBehaviorRequested",
|
|
6703
|
+
"type": "function",
|
|
6704
|
+
"description": "Before a query starts, this event is fired for the given provider. Its purpose is to request the provider's behavior for the query. The listener should return a behavior in response. By default, providers are inactive, so if your provider should always be inactive, you don't need to listen for this event.",
|
|
6705
|
+
"parameters": [
|
|
6706
|
+
{
|
|
6707
|
+
"name": "query",
|
|
6708
|
+
"$ref": "Query",
|
|
6709
|
+
"description": "The query for which the behavior is requested."
|
|
6710
|
+
}
|
|
6711
|
+
],
|
|
6712
|
+
"extraParameters": [
|
|
6713
|
+
{
|
|
6714
|
+
"name": "providerName",
|
|
6715
|
+
"type": "string",
|
|
6716
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
6717
|
+
"description": "The name of the provider whose behavior the listener returns."
|
|
6718
|
+
}
|
|
6719
|
+
],
|
|
6720
|
+
"returns": {
|
|
6721
|
+
"type": "string",
|
|
6722
|
+
"enum": [
|
|
6723
|
+
"active",
|
|
6724
|
+
"inactive",
|
|
6725
|
+
"restricting"
|
|
6726
|
+
],
|
|
6727
|
+
"description": "The behavior of the provider for the query."
|
|
6728
|
+
}
|
|
6729
|
+
},
|
|
6730
|
+
{
|
|
6731
|
+
"name": "onEngagement",
|
|
6732
|
+
"type": "function",
|
|
6733
|
+
"description": "This event is fired when the user starts and ends an engagement with the urlbar.",
|
|
6734
|
+
"parameters": [
|
|
6735
|
+
{
|
|
6736
|
+
"name": "state",
|
|
6737
|
+
"$ref": "EngagementState",
|
|
6738
|
+
"description": "The state of the engagement."
|
|
6739
|
+
}
|
|
6740
|
+
],
|
|
6741
|
+
"extraParameters": [
|
|
6742
|
+
{
|
|
6743
|
+
"name": "providerName",
|
|
6744
|
+
"type": "string",
|
|
6745
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
6746
|
+
"description": "The name of the provider that will listen for engagement events."
|
|
6747
|
+
}
|
|
6748
|
+
]
|
|
6749
|
+
},
|
|
6750
|
+
{
|
|
6751
|
+
"name": "onQueryCanceled",
|
|
6752
|
+
"type": "function",
|
|
6753
|
+
"description": "This event is fired for the given provider when a query is canceled. The listener should stop any ongoing fetch or creation of results and clean up its resources.",
|
|
6754
|
+
"parameters": [
|
|
6755
|
+
{
|
|
6756
|
+
"name": "query",
|
|
6757
|
+
"$ref": "Query",
|
|
6758
|
+
"description": "The query that was canceled."
|
|
6759
|
+
}
|
|
6760
|
+
],
|
|
6761
|
+
"extraParameters": [
|
|
6762
|
+
{
|
|
6763
|
+
"name": "providerName",
|
|
6764
|
+
"type": "string",
|
|
6765
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
6766
|
+
"description": "The name of the provider that is creating results for the query."
|
|
6767
|
+
}
|
|
6768
|
+
]
|
|
6769
|
+
},
|
|
6770
|
+
{
|
|
6771
|
+
"name": "onResultsRequested",
|
|
6772
|
+
"type": "function",
|
|
6773
|
+
"description": "When a query starts, this event is fired for the given provider if the provider is active for the query and there are no other providers that are restricting. Its purpose is to request the provider's results for the query. The listener should return a list of results in response.",
|
|
6774
|
+
"parameters": [
|
|
6775
|
+
{
|
|
6776
|
+
"name": "query",
|
|
6777
|
+
"$ref": "Query",
|
|
6778
|
+
"description": "The query for which results are requested."
|
|
6779
|
+
}
|
|
6780
|
+
],
|
|
6781
|
+
"extraParameters": [
|
|
6782
|
+
{
|
|
6783
|
+
"name": "providerName",
|
|
6784
|
+
"type": "string",
|
|
6785
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
6786
|
+
"description": "The name of the provider whose results the listener returns."
|
|
6787
|
+
}
|
|
6788
|
+
],
|
|
6789
|
+
"returns": {
|
|
6790
|
+
"type": "array",
|
|
6791
|
+
"items": {
|
|
6792
|
+
"$ref": "Result"
|
|
6793
|
+
},
|
|
6794
|
+
"description": "The results that the provider fetched for the query."
|
|
6795
|
+
}
|
|
6796
|
+
},
|
|
6797
|
+
{
|
|
6798
|
+
"name": "onResultPicked",
|
|
6799
|
+
"type": "function",
|
|
6800
|
+
"description": "Typically, a provider includes a <code>url</code> property in its results' payloads. When the user picks a result with a URL, Firefox automatically loads the URL. URLs don't make sense for every result type, however. When the user picks a result without a URL, this event is fired. The provider should take an appropriate action in response. Currently the only applicable <code>ResultTypes</code> are <code>dynamic</code> and <code>tip</code>.",
|
|
6801
|
+
"parameters": [
|
|
6802
|
+
{
|
|
6803
|
+
"name": "payload",
|
|
6804
|
+
"type": "object",
|
|
6805
|
+
"description": "The payload of the result that was picked."
|
|
6806
|
+
},
|
|
6807
|
+
{
|
|
6808
|
+
"name": "elementName",
|
|
6809
|
+
"type": "string",
|
|
6810
|
+
"description": "If the result is a dynamic type, this is the name of the element in the result view that was picked. If the result is not a dynamic type, this is an empty string."
|
|
6811
|
+
}
|
|
6812
|
+
],
|
|
6813
|
+
"extraParameters": [
|
|
6814
|
+
{
|
|
6815
|
+
"name": "providerName",
|
|
6816
|
+
"type": "string",
|
|
6817
|
+
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
6818
|
+
"description": "The listener will be called for the results of the provider with this name."
|
|
6819
|
+
}
|
|
6820
|
+
]
|
|
6821
|
+
}
|
|
6822
|
+
]
|
|
6823
|
+
}
|
|
6824
|
+
],
|
|
6553
6825
|
"windows.json": [
|
|
6554
6826
|
{
|
|
6555
6827
|
"namespace": "windows",
|
|
@@ -7588,32 +7860,6 @@
|
|
|
7588
7860
|
}
|
|
7589
7861
|
]
|
|
7590
7862
|
},
|
|
7591
|
-
{
|
|
7592
|
-
"name": "getUserSettings",
|
|
7593
|
-
"type": "function",
|
|
7594
|
-
"description": "Returns the user-specified settings relating to an extension's action.",
|
|
7595
|
-
"async": "callback",
|
|
7596
|
-
"parameters": [
|
|
7597
|
-
{
|
|
7598
|
-
"type": "function",
|
|
7599
|
-
"name": "callback",
|
|
7600
|
-
"parameters": [
|
|
7601
|
-
{
|
|
7602
|
-
"name": "userSettings",
|
|
7603
|
-
"type": "object",
|
|
7604
|
-
"properties": {
|
|
7605
|
-
"isOnToolbar": {
|
|
7606
|
-
"type": "boolean",
|
|
7607
|
-
"optional": true,
|
|
7608
|
-
"description": "Whether the extension's action icon is visible on browser windows' top-level toolbar (i.e., whether the extension has been 'pinned' by the user)."
|
|
7609
|
-
}
|
|
7610
|
-
},
|
|
7611
|
-
"description": "The collection of user-specified settings relating to an extension's action."
|
|
7612
|
-
}
|
|
7613
|
-
]
|
|
7614
|
-
}
|
|
7615
|
-
]
|
|
7616
|
-
},
|
|
7617
7863
|
{
|
|
7618
7864
|
"name": "setIcon",
|
|
7619
7865
|
"type": "function",
|
|
@@ -8723,23 +8969,13 @@
|
|
|
8723
8969
|
"matchAboutBlank": {
|
|
8724
8970
|
"type": "boolean",
|
|
8725
8971
|
"optional": true,
|
|
8726
|
-
"description": "If matchAboutBlank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document.
|
|
8727
|
-
},
|
|
8728
|
-
"matchOriginAsFallback": {
|
|
8729
|
-
"type": "boolean",
|
|
8730
|
-
"optional": true,
|
|
8731
|
-
"description": "If matchOriginAsFallback is true, then the code is also injected in about:, data:, blob: when their origin matches the pattern in 'matches', even if the actual document origin is opaque (due to the use of CSP sandbox or iframe sandbox). Match patterns in 'matches' must specify a wildcard path glob. By default it is <code>false</code>."
|
|
8972
|
+
"description": "If matchAboutBlank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document. Code cannot be inserted in top-level about:-frames. By default it is <code>false</code>."
|
|
8732
8973
|
},
|
|
8733
8974
|
"runAt": {
|
|
8734
8975
|
"$ref": "extensionTypes.RunAt",
|
|
8735
8976
|
"optional": true,
|
|
8736
8977
|
"description": "The soonest that the JavaScript or CSS will be injected into the tab. Defaults to \"document_idle\"."
|
|
8737
8978
|
},
|
|
8738
|
-
"world": {
|
|
8739
|
-
"$ref": "extensionTypes.ExecutionWorld",
|
|
8740
|
-
"optional": true,
|
|
8741
|
-
"description": "The JavaScript world for a script to execute within. Defaults to \"ISOLATED\"."
|
|
8742
|
-
},
|
|
8743
8979
|
"cookieStoreId": {
|
|
8744
8980
|
"choices": [
|
|
8745
8981
|
{
|
|
@@ -8944,38 +9180,10 @@
|
|
|
8944
9180
|
}
|
|
8945
9181
|
]
|
|
8946
9182
|
},
|
|
8947
|
-
{
|
|
8948
|
-
"name": "move",
|
|
8949
|
-
"type": "function",
|
|
8950
|
-
"description": "Reorder one or more contextual identities by their cookieStoreIDs to a given position.",
|
|
8951
|
-
"async": true,
|
|
8952
|
-
"parameters": [
|
|
8953
|
-
{
|
|
8954
|
-
"name": "cookieStoreIds",
|
|
8955
|
-
"description": "The ID or list of IDs of the contextual identity cookie stores. ",
|
|
8956
|
-
"choices": [
|
|
8957
|
-
{
|
|
8958
|
-
"type": "string"
|
|
8959
|
-
},
|
|
8960
|
-
{
|
|
8961
|
-
"type": "array",
|
|
8962
|
-
"items": {
|
|
8963
|
-
"type": "string"
|
|
8964
|
-
}
|
|
8965
|
-
}
|
|
8966
|
-
]
|
|
8967
|
-
},
|
|
8968
|
-
{
|
|
8969
|
-
"type": "integer",
|
|
8970
|
-
"name": "position",
|
|
8971
|
-
"description": "The position the contextual identity should move to."
|
|
8972
|
-
}
|
|
8973
|
-
]
|
|
8974
|
-
},
|
|
8975
9183
|
{
|
|
8976
9184
|
"name": "remove",
|
|
8977
9185
|
"type": "function",
|
|
8978
|
-
"description": "Deletes a
|
|
9186
|
+
"description": "Deletes a contetual identity by its cookie Store ID.",
|
|
8979
9187
|
"async": true,
|
|
8980
9188
|
"parameters": [
|
|
8981
9189
|
{
|
|
@@ -9991,20 +10199,6 @@
|
|
|
9991
10199
|
}
|
|
9992
10200
|
}
|
|
9993
10201
|
}
|
|
9994
|
-
},
|
|
9995
|
-
{
|
|
9996
|
-
"id": "GetRulesFilter",
|
|
9997
|
-
"type": "object",
|
|
9998
|
-
"properties": {
|
|
9999
|
-
"ruleIds": {
|
|
10000
|
-
"type": "array",
|
|
10001
|
-
"optional": true,
|
|
10002
|
-
"description": "If specified, only rules with matching IDs are included.",
|
|
10003
|
-
"items": {
|
|
10004
|
-
"type": "integer"
|
|
10005
|
-
}
|
|
10006
|
-
}
|
|
10007
|
-
}
|
|
10008
10202
|
}
|
|
10009
10203
|
],
|
|
10010
10204
|
"functions": [
|
|
@@ -10085,82 +10279,44 @@
|
|
|
10085
10279
|
"type": "function",
|
|
10086
10280
|
"description": "Returns the ids for the current set of enabled static rulesets.",
|
|
10087
10281
|
"async": "callback",
|
|
10088
|
-
"parameters": [
|
|
10089
|
-
{
|
|
10090
|
-
"name": "callback",
|
|
10091
|
-
"type": "function",
|
|
10092
|
-
"parameters": [
|
|
10093
|
-
{
|
|
10094
|
-
"type": "array",
|
|
10095
|
-
"name": "rulesetIds",
|
|
10096
|
-
"items": {
|
|
10097
|
-
"type": "string"
|
|
10098
|
-
}
|
|
10099
|
-
}
|
|
10100
|
-
]
|
|
10101
|
-
}
|
|
10102
|
-
]
|
|
10103
|
-
},
|
|
10104
|
-
{
|
|
10105
|
-
"name": "updateEnabledRulesets",
|
|
10106
|
-
"type": "function",
|
|
10107
|
-
"description": "Modifies the static rulesets enabled/disabled state.",
|
|
10108
|
-
"async": "callback",
|
|
10109
|
-
"parameters": [
|
|
10110
|
-
{
|
|
10111
|
-
"name": "updateRulesetOptions",
|
|
10112
|
-
"type": "object",
|
|
10113
|
-
"properties": {
|
|
10114
|
-
"disableRulesetIds": {
|
|
10115
|
-
"type": "array",
|
|
10116
|
-
"items": {
|
|
10117
|
-
"type": "string"
|
|
10118
|
-
},
|
|
10119
|
-
"optional": true,
|
|
10120
|
-
"default": []
|
|
10121
|
-
},
|
|
10122
|
-
"enableRulesetIds": {
|
|
10123
|
-
"type": "array",
|
|
10124
|
-
"items": {
|
|
10125
|
-
"type": "string"
|
|
10126
|
-
},
|
|
10127
|
-
"optional": true,
|
|
10128
|
-
"default": []
|
|
10129
|
-
}
|
|
10130
|
-
}
|
|
10131
|
-
},
|
|
10282
|
+
"parameters": [
|
|
10132
10283
|
{
|
|
10133
10284
|
"name": "callback",
|
|
10134
10285
|
"type": "function",
|
|
10135
|
-
"parameters": [
|
|
10286
|
+
"parameters": [
|
|
10287
|
+
{
|
|
10288
|
+
"type": "array",
|
|
10289
|
+
"name": "rulesetIds",
|
|
10290
|
+
"items": {
|
|
10291
|
+
"type": "string"
|
|
10292
|
+
}
|
|
10293
|
+
}
|
|
10294
|
+
]
|
|
10136
10295
|
}
|
|
10137
10296
|
]
|
|
10138
10297
|
},
|
|
10139
10298
|
{
|
|
10140
|
-
"name": "
|
|
10299
|
+
"name": "updateEnabledRulesets",
|
|
10141
10300
|
"type": "function",
|
|
10142
|
-
"description": "
|
|
10301
|
+
"description": "Returns the ids for the current set of enabled static rulesets.",
|
|
10143
10302
|
"async": "callback",
|
|
10144
10303
|
"parameters": [
|
|
10145
10304
|
{
|
|
10146
|
-
"name": "
|
|
10305
|
+
"name": "updateRulesetOptions",
|
|
10147
10306
|
"type": "object",
|
|
10148
10307
|
"properties": {
|
|
10149
|
-
"
|
|
10150
|
-
"type": "string"
|
|
10151
|
-
},
|
|
10152
|
-
"disableRuleIds": {
|
|
10308
|
+
"disableRulesetIds": {
|
|
10153
10309
|
"type": "array",
|
|
10154
10310
|
"items": {
|
|
10155
|
-
"type": "
|
|
10311
|
+
"type": "string"
|
|
10156
10312
|
},
|
|
10157
10313
|
"optional": true,
|
|
10158
10314
|
"default": []
|
|
10159
10315
|
},
|
|
10160
|
-
"
|
|
10316
|
+
"enableRulesetIds": {
|
|
10161
10317
|
"type": "array",
|
|
10162
10318
|
"items": {
|
|
10163
|
-
"type": "
|
|
10319
|
+
"type": "string"
|
|
10164
10320
|
},
|
|
10165
10321
|
"optional": true,
|
|
10166
10322
|
"default": []
|
|
@@ -10192,48 +10348,12 @@
|
|
|
10192
10348
|
}
|
|
10193
10349
|
]
|
|
10194
10350
|
},
|
|
10195
|
-
{
|
|
10196
|
-
"name": "getDisabledRuleIds",
|
|
10197
|
-
"type": "function",
|
|
10198
|
-
"description": "Returns the list of individual disabled static rules from a given static ruleset id.",
|
|
10199
|
-
"async": "callback",
|
|
10200
|
-
"parameters": [
|
|
10201
|
-
{
|
|
10202
|
-
"name": "options",
|
|
10203
|
-
"type": "object",
|
|
10204
|
-
"properties": {
|
|
10205
|
-
"rulesetId": {
|
|
10206
|
-
"type": "string"
|
|
10207
|
-
}
|
|
10208
|
-
}
|
|
10209
|
-
},
|
|
10210
|
-
{
|
|
10211
|
-
"name": "callback",
|
|
10212
|
-
"type": "function",
|
|
10213
|
-
"parameters": [
|
|
10214
|
-
{
|
|
10215
|
-
"name": "disabledRuleIds",
|
|
10216
|
-
"type": "array",
|
|
10217
|
-
"items": {
|
|
10218
|
-
"type": "integer"
|
|
10219
|
-
}
|
|
10220
|
-
}
|
|
10221
|
-
]
|
|
10222
|
-
}
|
|
10223
|
-
]
|
|
10224
|
-
},
|
|
10225
10351
|
{
|
|
10226
10352
|
"name": "getDynamicRules",
|
|
10227
10353
|
"type": "function",
|
|
10228
10354
|
"description": "Returns the current set of dynamic rules for the extension.",
|
|
10229
10355
|
"async": "callback",
|
|
10230
10356
|
"parameters": [
|
|
10231
|
-
{
|
|
10232
|
-
"name": "filter",
|
|
10233
|
-
"$ref": "GetRulesFilter",
|
|
10234
|
-
"optional": true,
|
|
10235
|
-
"description": "An object to filter the set of dynamic rules for the extension."
|
|
10236
|
-
},
|
|
10237
10357
|
{
|
|
10238
10358
|
"name": "callback",
|
|
10239
10359
|
"type": "function",
|
|
@@ -10255,12 +10375,6 @@
|
|
|
10255
10375
|
"description": "Returns the current set of session scoped rules for the extension.",
|
|
10256
10376
|
"async": "callback",
|
|
10257
10377
|
"parameters": [
|
|
10258
|
-
{
|
|
10259
|
-
"name": "filter",
|
|
10260
|
-
"$ref": "GetRulesFilter",
|
|
10261
|
-
"optional": true,
|
|
10262
|
-
"description": "An object to filter the set of session scoped rules for the extension."
|
|
10263
|
-
},
|
|
10264
10378
|
{
|
|
10265
10379
|
"name": "callback",
|
|
10266
10380
|
"type": "function",
|
|
@@ -10417,25 +10531,13 @@
|
|
|
10417
10531
|
"type": "number",
|
|
10418
10532
|
"description": "The maximum number of static Rulesets an extension can specify as part of the rule_resources manifest key."
|
|
10419
10533
|
},
|
|
10420
|
-
"MAX_NUMBER_OF_DISABLED_STATIC_RULES": {
|
|
10421
|
-
"type": "number",
|
|
10422
|
-
"description": "The maximum number of static rules that can be disabled on each static ruleset."
|
|
10423
|
-
},
|
|
10424
10534
|
"MAX_NUMBER_OF_ENABLED_STATIC_RULESETS": {
|
|
10425
10535
|
"type": "number",
|
|
10426
10536
|
"description": "The maximum number of static Rulesets an extension can enable at any one time."
|
|
10427
10537
|
},
|
|
10428
10538
|
"MAX_NUMBER_OF_DYNAMIC_AND_SESSION_RULES": {
|
|
10429
10539
|
"type": "number",
|
|
10430
|
-
"description": "
|
|
10431
|
-
},
|
|
10432
|
-
"MAX_NUMBER_OF_DYNAMIC_RULES": {
|
|
10433
|
-
"type": "number",
|
|
10434
|
-
"description": "The maximum number of dynamic session rules an extension can add."
|
|
10435
|
-
},
|
|
10436
|
-
"MAX_NUMBER_OF_SESSION_RULES": {
|
|
10437
|
-
"type": "number",
|
|
10438
|
-
"description": "The maximum number of dynamic session rules an extension can add."
|
|
10540
|
+
"description": "The maximum number of dynamic and session rules an extension can add. NOTE: in the Firefox we are enforcing this limit to the session and dynamic rules count separately, instead of enforcing it to the rules count for both combined as the Chrome implementation does."
|
|
10439
10541
|
},
|
|
10440
10542
|
"MAX_NUMBER_OF_REGEX_RULES": {
|
|
10441
10543
|
"type": "number",
|
|
@@ -12165,15 +12267,6 @@
|
|
|
12165
12267
|
],
|
|
12166
12268
|
"description": "The soonest that the JavaScript or CSS will be injected into the tab."
|
|
12167
12269
|
},
|
|
12168
|
-
{
|
|
12169
|
-
"id": "ExecutionWorld",
|
|
12170
|
-
"type": "string",
|
|
12171
|
-
"enum": [
|
|
12172
|
-
"ISOLATED",
|
|
12173
|
-
"MAIN"
|
|
12174
|
-
],
|
|
12175
|
-
"description": "The JavaScript world for a script to execute within. <code>ISOLATED</code> is the default execution environment of content scripts, <code>MAIN</code> is the web page's execution environment."
|
|
12176
|
-
},
|
|
12177
12270
|
{
|
|
12178
12271
|
"id": "CSSOrigin",
|
|
12179
12272
|
"type": "string",
|
|
@@ -12435,10 +12528,7 @@
|
|
|
12435
12528
|
"unregisteredthreads",
|
|
12436
12529
|
"processcpu",
|
|
12437
12530
|
"power",
|
|
12438
|
-
"responsiveness"
|
|
12439
|
-
"cpufreq",
|
|
12440
|
-
"bandwidth",
|
|
12441
|
-
"memory"
|
|
12531
|
+
"responsiveness"
|
|
12442
12532
|
]
|
|
12443
12533
|
},
|
|
12444
12534
|
{
|
|
@@ -13095,13 +13185,12 @@
|
|
|
13095
13185
|
},
|
|
13096
13186
|
{
|
|
13097
13187
|
"id": "ExtensionInstallType",
|
|
13098
|
-
"description": "How the extension was installed. One of<br><var>development</var>: The extension was loaded unpacked in developer mode,<br><var>normal</var>: The extension was installed normally via an .xpi file,<br><var>sideload</var>: The extension was installed by other software on the machine,<br><var>
|
|
13188
|
+
"description": "How the extension was installed. One of<br><var>development</var>: The extension was loaded unpacked in developer mode,<br><var>normal</var>: The extension was installed normally via an .xpi file,<br><var>sideload</var>: The extension was installed by other software on the machine,<br><var>other</var>: The extension was installed by other means.",
|
|
13099
13189
|
"type": "string",
|
|
13100
13190
|
"enum": [
|
|
13101
13191
|
"development",
|
|
13102
13192
|
"normal",
|
|
13103
13193
|
"sideload",
|
|
13104
|
-
"admin",
|
|
13105
13194
|
"other"
|
|
13106
13195
|
]
|
|
13107
13196
|
},
|
|
@@ -13461,7 +13550,6 @@
|
|
|
13461
13550
|
},
|
|
13462
13551
|
"name": {
|
|
13463
13552
|
"type": "string",
|
|
13464
|
-
"description": "Name must be at least 2, at should be at most 75 characters",
|
|
13465
13553
|
"optional": false,
|
|
13466
13554
|
"preprocess": "localize"
|
|
13467
13555
|
},
|
|
@@ -13545,13 +13633,10 @@
|
|
|
13545
13633
|
},
|
|
13546
13634
|
"incognito": {
|
|
13547
13635
|
"type": "string",
|
|
13548
|
-
"description": "The 'split' value is not supported.",
|
|
13549
13636
|
"enum": [
|
|
13550
13637
|
"not_allowed",
|
|
13551
|
-
"spanning"
|
|
13552
|
-
"split"
|
|
13638
|
+
"spanning"
|
|
13553
13639
|
],
|
|
13554
|
-
"postprocess": "incognitoSplitUnsupportedAndFallback",
|
|
13555
13640
|
"default": "spanning",
|
|
13556
13641
|
"optional": true
|
|
13557
13642
|
},
|
|
@@ -13614,11 +13699,6 @@
|
|
|
13614
13699
|
],
|
|
13615
13700
|
"optional": true
|
|
13616
13701
|
},
|
|
13617
|
-
"options_page": {
|
|
13618
|
-
"$ref": "ExtensionURL",
|
|
13619
|
-
"optional": true,
|
|
13620
|
-
"description": "Alias property for options_ui.page, ignored when options_ui.page is set. When using this property the options page is always opened in a new tab."
|
|
13621
|
-
},
|
|
13622
13702
|
"options_ui": {
|
|
13623
13703
|
"type": "object",
|
|
13624
13704
|
"optional": true,
|
|
@@ -13716,16 +13796,6 @@
|
|
|
13716
13796
|
"optional": true,
|
|
13717
13797
|
"default": []
|
|
13718
13798
|
},
|
|
13719
|
-
"optional_host_permissions": {
|
|
13720
|
-
"min_manifest_version": 3,
|
|
13721
|
-
"type": "array",
|
|
13722
|
-
"items": {
|
|
13723
|
-
"$ref": "MatchPattern",
|
|
13724
|
-
"onError": "warn"
|
|
13725
|
-
},
|
|
13726
|
-
"optional": true,
|
|
13727
|
-
"default": []
|
|
13728
|
-
},
|
|
13729
13799
|
"optional_permissions": {
|
|
13730
13800
|
"type": "array",
|
|
13731
13801
|
"items": {
|
|
@@ -14089,14 +14159,7 @@
|
|
|
14089
14159
|
"strict_max_version": {
|
|
14090
14160
|
"type": "string",
|
|
14091
14161
|
"optional": true
|
|
14092
|
-
},
|
|
14093
|
-
"admin_install_only": {
|
|
14094
|
-
"type": "boolean",
|
|
14095
|
-
"optional": true
|
|
14096
14162
|
}
|
|
14097
|
-
},
|
|
14098
|
-
"additionalProperties": {
|
|
14099
|
-
"$ref": "UnrecognizedProperty"
|
|
14100
14163
|
}
|
|
14101
14164
|
},
|
|
14102
14165
|
{
|
|
@@ -14113,7 +14176,7 @@
|
|
|
14113
14176
|
}
|
|
14114
14177
|
},
|
|
14115
14178
|
"additionalProperties": {
|
|
14116
|
-
"
|
|
14179
|
+
"type": "any"
|
|
14117
14180
|
}
|
|
14118
14181
|
},
|
|
14119
14182
|
{
|
|
@@ -14254,24 +14317,13 @@
|
|
|
14254
14317
|
"match_about_blank": {
|
|
14255
14318
|
"type": "boolean",
|
|
14256
14319
|
"optional": true,
|
|
14257
|
-
"description": "If
|
|
14258
|
-
},
|
|
14259
|
-
"match_origin_as_fallback": {
|
|
14260
|
-
"type": "boolean",
|
|
14261
|
-
"optional": true,
|
|
14262
|
-
"description": "If match_origin_as_fallback is true, then the code is also injected in about:, data:, blob: when their origin matches the pattern in 'matches', even if the actual document origin is opaque (due to the use of CSP sandbox or iframe sandbox). Match patterns in 'matches' must specify a wildcard path glob. By default it is <code>false</code>."
|
|
14320
|
+
"description": "If matchAboutBlank is true, then the code is also injected in about:blank and about:srcdoc frames if your extension has access to its parent document. Code cannot be inserted in top-level about:-frames. By default it is <code>false</code>."
|
|
14263
14321
|
},
|
|
14264
14322
|
"run_at": {
|
|
14265
14323
|
"$ref": "extensionTypes.RunAt",
|
|
14266
14324
|
"optional": true,
|
|
14267
14325
|
"default": "document_idle",
|
|
14268
14326
|
"description": "The soonest that the JavaScript or CSS will be injected into the tab. Defaults to \"document_idle\"."
|
|
14269
|
-
},
|
|
14270
|
-
"world": {
|
|
14271
|
-
"$ref": "extensionTypes.ExecutionWorld",
|
|
14272
|
-
"optional": true,
|
|
14273
|
-
"default": "ISOLATED",
|
|
14274
|
-
"description": "The JavaScript world for a script to execute within. Defaults to \"ISOLATED\"."
|
|
14275
14327
|
}
|
|
14276
14328
|
}
|
|
14277
14329
|
},
|
|
@@ -15520,7 +15572,7 @@
|
|
|
15520
15572
|
"proxyDNS": {
|
|
15521
15573
|
"type": "boolean",
|
|
15522
15574
|
"optional": true,
|
|
15523
|
-
"description": "Proxy DNS when using SOCKS
|
|
15575
|
+
"description": "Proxy DNS when using SOCKS v5."
|
|
15524
15576
|
},
|
|
15525
15577
|
"respectBeConservative": {
|
|
15526
15578
|
"type": "boolean",
|
|
@@ -15884,132 +15936,6 @@
|
|
|
15884
15936
|
],
|
|
15885
15937
|
"description": "Use the <code>browser.runtime</code> API to retrieve the background page, return details about the manifest, and listen for and respond to events in the app or extension lifecycle. You can also use this API to convert the relative path of URLs to fully-qualified URLs.",
|
|
15886
15938
|
"types": [
|
|
15887
|
-
{
|
|
15888
|
-
"id": "ContextFilter",
|
|
15889
|
-
"min_manifest_version": 3,
|
|
15890
|
-
"type": "object",
|
|
15891
|
-
"description": "A filter to match against existing extension context. Matching contexts must match all specified filters.",
|
|
15892
|
-
"properties": {
|
|
15893
|
-
"contextIds": {
|
|
15894
|
-
"optional": true,
|
|
15895
|
-
"type": "array",
|
|
15896
|
-
"items": {
|
|
15897
|
-
"type": "string"
|
|
15898
|
-
}
|
|
15899
|
-
},
|
|
15900
|
-
"contextTypes": {
|
|
15901
|
-
"optional": true,
|
|
15902
|
-
"type": "array",
|
|
15903
|
-
"items": {
|
|
15904
|
-
"$ref": "ContextType"
|
|
15905
|
-
}
|
|
15906
|
-
},
|
|
15907
|
-
"documentIds": {
|
|
15908
|
-
"optional": true,
|
|
15909
|
-
"type": "array",
|
|
15910
|
-
"items": {
|
|
15911
|
-
"type": "string"
|
|
15912
|
-
}
|
|
15913
|
-
},
|
|
15914
|
-
"documentOrigins": {
|
|
15915
|
-
"optional": true,
|
|
15916
|
-
"type": "array",
|
|
15917
|
-
"items": {
|
|
15918
|
-
"type": "string"
|
|
15919
|
-
}
|
|
15920
|
-
},
|
|
15921
|
-
"documentUrls": {
|
|
15922
|
-
"optional": true,
|
|
15923
|
-
"type": "array",
|
|
15924
|
-
"items": {
|
|
15925
|
-
"type": "string"
|
|
15926
|
-
}
|
|
15927
|
-
},
|
|
15928
|
-
"frameIds": {
|
|
15929
|
-
"optional": true,
|
|
15930
|
-
"type": "array",
|
|
15931
|
-
"items": {
|
|
15932
|
-
"type": "integer"
|
|
15933
|
-
}
|
|
15934
|
-
},
|
|
15935
|
-
"tabIds": {
|
|
15936
|
-
"optional": true,
|
|
15937
|
-
"type": "array",
|
|
15938
|
-
"items": {
|
|
15939
|
-
"type": "integer"
|
|
15940
|
-
}
|
|
15941
|
-
},
|
|
15942
|
-
"windowIds": {
|
|
15943
|
-
"optional": true,
|
|
15944
|
-
"type": "array",
|
|
15945
|
-
"items": {
|
|
15946
|
-
"type": "integer"
|
|
15947
|
-
}
|
|
15948
|
-
},
|
|
15949
|
-
"incognito": {
|
|
15950
|
-
"optional": true,
|
|
15951
|
-
"type": "boolean"
|
|
15952
|
-
}
|
|
15953
|
-
}
|
|
15954
|
-
},
|
|
15955
|
-
{
|
|
15956
|
-
"id": "ContextType",
|
|
15957
|
-
"type": "string",
|
|
15958
|
-
"enum": [
|
|
15959
|
-
"BACKGROUND",
|
|
15960
|
-
"POPUP",
|
|
15961
|
-
"SIDE_PANEL",
|
|
15962
|
-
"TAB"
|
|
15963
|
-
],
|
|
15964
|
-
"description": "The type of extension view."
|
|
15965
|
-
},
|
|
15966
|
-
{
|
|
15967
|
-
"id": "ExtensionContext",
|
|
15968
|
-
"type": "object",
|
|
15969
|
-
"description": "A context hosting extension content",
|
|
15970
|
-
"properties": {
|
|
15971
|
-
"contextId": {
|
|
15972
|
-
"type": "string",
|
|
15973
|
-
"description": "An unique identifier associated to this context"
|
|
15974
|
-
},
|
|
15975
|
-
"contextType": {
|
|
15976
|
-
"$ref": "ContextType",
|
|
15977
|
-
"description": "The type of the context"
|
|
15978
|
-
},
|
|
15979
|
-
"documentId": {
|
|
15980
|
-
"type": "string",
|
|
15981
|
-
"unsupported": true,
|
|
15982
|
-
"optional": true,
|
|
15983
|
-
"description": "An UUID for the document associated with this context, or undefined if it is not hosted in a document"
|
|
15984
|
-
},
|
|
15985
|
-
"documentOrigin": {
|
|
15986
|
-
"type": "string",
|
|
15987
|
-
"optional": true,
|
|
15988
|
-
"description": "The origin of the document associated with this context, or undefined if it is not hosted in a document"
|
|
15989
|
-
},
|
|
15990
|
-
"documentUrl": {
|
|
15991
|
-
"type": "string",
|
|
15992
|
-
"optional": true,
|
|
15993
|
-
"description": "The URL of the document associated with this context, or undefined if it is not hosted in a document"
|
|
15994
|
-
},
|
|
15995
|
-
"incognito": {
|
|
15996
|
-
"type": "boolean",
|
|
15997
|
-
"description": "Whether the context is associated with an private browsing context."
|
|
15998
|
-
},
|
|
15999
|
-
"frameId": {
|
|
16000
|
-
"type": "integer",
|
|
16001
|
-
"description": "The frame ID for this context, or -1 if it is not hosted in a frame."
|
|
16002
|
-
},
|
|
16003
|
-
"tabId": {
|
|
16004
|
-
"type": "integer",
|
|
16005
|
-
"description": "The tab ID for this context, or -1 if it is not hosted in a tab."
|
|
16006
|
-
},
|
|
16007
|
-
"windowId": {
|
|
16008
|
-
"type": "integer",
|
|
16009
|
-
"description": "The window ID for this context, or -1 if it is not hosted in a window."
|
|
16010
|
-
}
|
|
16011
|
-
}
|
|
16012
|
-
},
|
|
16013
15939
|
{
|
|
16014
15940
|
"id": "Port",
|
|
16015
15941
|
"type": "object",
|
|
@@ -16205,24 +16131,6 @@
|
|
|
16205
16131
|
"os_update",
|
|
16206
16132
|
"periodic"
|
|
16207
16133
|
]
|
|
16208
|
-
},
|
|
16209
|
-
{
|
|
16210
|
-
"id": "OnPerformanceWarningCategory",
|
|
16211
|
-
"type": "string",
|
|
16212
|
-
"enum": [
|
|
16213
|
-
"content_script"
|
|
16214
|
-
],
|
|
16215
|
-
"description": "The performance warning event category, e.g. 'content_script'."
|
|
16216
|
-
},
|
|
16217
|
-
{
|
|
16218
|
-
"id": "OnPerformanceWarningSeverity",
|
|
16219
|
-
"type": "string",
|
|
16220
|
-
"enum": [
|
|
16221
|
-
"low",
|
|
16222
|
-
"medium",
|
|
16223
|
-
"high"
|
|
16224
|
-
],
|
|
16225
|
-
"description": "The performance warning event severity. Will be 'high' for serious and user-visible issues."
|
|
16226
16134
|
}
|
|
16227
16135
|
],
|
|
16228
16136
|
"properties": {
|
|
@@ -16279,33 +16187,6 @@
|
|
|
16279
16187
|
}
|
|
16280
16188
|
]
|
|
16281
16189
|
},
|
|
16282
|
-
{
|
|
16283
|
-
"name": "getContexts",
|
|
16284
|
-
"type": "function",
|
|
16285
|
-
"description": "Fetches information about active contexts associated with this extension",
|
|
16286
|
-
"async": "callback",
|
|
16287
|
-
"parameters": [
|
|
16288
|
-
{
|
|
16289
|
-
"name": "filter",
|
|
16290
|
-
"$ref": "ContextFilter",
|
|
16291
|
-
"description": "A filter to find matching context."
|
|
16292
|
-
},
|
|
16293
|
-
{
|
|
16294
|
-
"type": "function",
|
|
16295
|
-
"name": "callback",
|
|
16296
|
-
"parameters": [
|
|
16297
|
-
{
|
|
16298
|
-
"name": "contexts",
|
|
16299
|
-
"type": "array",
|
|
16300
|
-
"items": {
|
|
16301
|
-
"$ref": "ExtensionContext"
|
|
16302
|
-
},
|
|
16303
|
-
"description": "The matching contexts, if any."
|
|
16304
|
-
}
|
|
16305
|
-
]
|
|
16306
|
-
}
|
|
16307
|
-
]
|
|
16308
|
-
},
|
|
16309
16190
|
{
|
|
16310
16191
|
"name": "openOptionsPage",
|
|
16311
16192
|
"type": "function",
|
|
@@ -16382,14 +16263,14 @@
|
|
|
16382
16263
|
{
|
|
16383
16264
|
"name": "setUninstallURL",
|
|
16384
16265
|
"type": "function",
|
|
16385
|
-
"description": "Sets the URL to be visited upon uninstallation. This may be used to clean up server-side data, do analytics, and implement surveys. Maximum
|
|
16266
|
+
"description": "Sets the URL to be visited upon uninstallation. This may be used to clean up server-side data, do analytics, and implement surveys. Maximum 255 characters.",
|
|
16386
16267
|
"async": "callback",
|
|
16387
16268
|
"parameters": [
|
|
16388
16269
|
{
|
|
16389
16270
|
"type": "string",
|
|
16390
16271
|
"name": "url",
|
|
16391
16272
|
"optional": true,
|
|
16392
|
-
"maxLength":
|
|
16273
|
+
"maxLength": 255,
|
|
16393
16274
|
"description": "URL to be opened after the extension is uninstalled. This URL must have an http: or https: scheme. Set an empty string to not open a new tab upon uninstallation."
|
|
16394
16275
|
},
|
|
16395
16276
|
{
|
|
@@ -16827,36 +16708,6 @@
|
|
|
16827
16708
|
"description": "The reason that the event is being dispatched."
|
|
16828
16709
|
}
|
|
16829
16710
|
]
|
|
16830
|
-
},
|
|
16831
|
-
{
|
|
16832
|
-
"name": "onPerformanceWarning",
|
|
16833
|
-
"type": "function",
|
|
16834
|
-
"description": "Fired when a runtime performance issue is detected with the extension. Observe this event to be proactively notified of runtime performance problems with the extension.",
|
|
16835
|
-
"parameters": [
|
|
16836
|
-
{
|
|
16837
|
-
"type": "object",
|
|
16838
|
-
"name": "details",
|
|
16839
|
-
"properties": {
|
|
16840
|
-
"category": {
|
|
16841
|
-
"$ref": "OnPerformanceWarningCategory",
|
|
16842
|
-
"description": "The performance warning event category, e.g. 'content_script'."
|
|
16843
|
-
},
|
|
16844
|
-
"severity": {
|
|
16845
|
-
"$ref": "OnPerformanceWarningSeverity",
|
|
16846
|
-
"description": "The performance warning event severity, e.g. 'high'."
|
|
16847
|
-
},
|
|
16848
|
-
"tabId": {
|
|
16849
|
-
"type": "integer",
|
|
16850
|
-
"optional": true,
|
|
16851
|
-
"description": "The $(ref:tabs.Tab) that the performance warning relates to, if any."
|
|
16852
|
-
},
|
|
16853
|
-
"description": {
|
|
16854
|
-
"type": "string",
|
|
16855
|
-
"description": "An explanation of what the warning means, and hopefully how to address it."
|
|
16856
|
-
}
|
|
16857
|
-
}
|
|
16858
|
-
}
|
|
16859
|
-
]
|
|
16860
16711
|
}
|
|
16861
16712
|
]
|
|
16862
16713
|
}
|
|
@@ -17023,10 +16874,9 @@
|
|
|
17023
16874
|
"id": "ExecutionWorld",
|
|
17024
16875
|
"type": "string",
|
|
17025
16876
|
"enum": [
|
|
17026
|
-
"ISOLATED"
|
|
17027
|
-
"MAIN"
|
|
16877
|
+
"ISOLATED"
|
|
17028
16878
|
],
|
|
17029
|
-
"description": "The JavaScript world for a script to execute within.
|
|
16879
|
+
"description": "The JavaScript world for a script to execute within. We currently only support the <code>'ISOLATED'</code> world."
|
|
17030
16880
|
},
|
|
17031
16881
|
{
|
|
17032
16882
|
"id": "RegisteredContentScript",
|
|
@@ -17065,21 +16915,11 @@
|
|
|
17065
16915
|
"type": "string"
|
|
17066
16916
|
}
|
|
17067
16917
|
},
|
|
17068
|
-
"matchOriginAsFallback": {
|
|
17069
|
-
"type": "boolean",
|
|
17070
|
-
"optional": true,
|
|
17071
|
-
"description": "If matchOriginAsFallback is true, then the code is also injected in about:, data:, blob: when their origin matches the pattern in 'matches', even if the actual document origin is opaque (due to the use of CSP sandbox or iframe sandbox). Match patterns in 'matches' must specify a wildcard path glob. By default it is <code>false</code>."
|
|
17072
|
-
},
|
|
17073
16918
|
"runAt": {
|
|
17074
16919
|
"$ref": "extensionTypes.RunAt",
|
|
17075
16920
|
"optional": true,
|
|
17076
16921
|
"description": "Specifies when JavaScript files are injected into the web page. The preferred and default value is <code>document_idle</code>."
|
|
17077
16922
|
},
|
|
17078
|
-
"world": {
|
|
17079
|
-
"$ref": "ExecutionWorld",
|
|
17080
|
-
"optional": true,
|
|
17081
|
-
"description": "The JavaScript world for a script to execute within. Defaults to \"ISOLATED\"."
|
|
17082
|
-
},
|
|
17083
16923
|
"persistAcrossSessions": {
|
|
17084
16924
|
"type": "boolean",
|
|
17085
16925
|
"optional": true,
|
|
@@ -19703,10 +19543,12 @@
|
|
|
19703
19543
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
19704
19544
|
},
|
|
19705
19545
|
"transitionType": {
|
|
19546
|
+
"unsupported": true,
|
|
19706
19547
|
"$ref": "TransitionType",
|
|
19707
19548
|
"description": "Cause of the navigation."
|
|
19708
19549
|
},
|
|
19709
19550
|
"transitionQualifiers": {
|
|
19551
|
+
"unsupported": true,
|
|
19710
19552
|
"type": "array",
|
|
19711
19553
|
"description": "A list of transition qualifiers.",
|
|
19712
19554
|
"items": {
|
|
@@ -19928,10 +19770,12 @@
|
|
|
19928
19770
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
19929
19771
|
},
|
|
19930
19772
|
"transitionType": {
|
|
19773
|
+
"unsupported": true,
|
|
19931
19774
|
"$ref": "TransitionType",
|
|
19932
19775
|
"description": "Cause of the navigation."
|
|
19933
19776
|
},
|
|
19934
19777
|
"transitionQualifiers": {
|
|
19778
|
+
"unsupported": true,
|
|
19935
19779
|
"type": "array",
|
|
19936
19780
|
"description": "A list of transition qualifiers.",
|
|
19937
19781
|
"items": {
|
|
@@ -20005,10 +19849,12 @@
|
|
|
20005
19849
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
20006
19850
|
},
|
|
20007
19851
|
"transitionType": {
|
|
19852
|
+
"unsupported": true,
|
|
20008
19853
|
"$ref": "TransitionType",
|
|
20009
19854
|
"description": "Cause of the navigation."
|
|
20010
19855
|
},
|
|
20011
19856
|
"transitionQualifiers": {
|
|
19857
|
+
"unsupported": true,
|
|
20012
19858
|
"type": "array",
|
|
20013
19859
|
"description": "A list of transition qualifiers.",
|
|
20014
19860
|
"items": {
|
|
@@ -20045,7 +19891,6 @@
|
|
|
20045
19891
|
"type": "string",
|
|
20046
19892
|
"enum": [
|
|
20047
19893
|
"webRequest",
|
|
20048
|
-
"webRequestAuthProvider",
|
|
20049
19894
|
"webRequestBlocking",
|
|
20050
19895
|
"webRequestFilterResponse",
|
|
20051
19896
|
"webRequestFilterResponse.serviceWorkerScript"
|
|
@@ -20136,7 +19981,7 @@
|
|
|
20136
19981
|
"blocking",
|
|
20137
19982
|
"asyncBlocking"
|
|
20138
19983
|
],
|
|
20139
|
-
"postprocess": "
|
|
19984
|
+
"postprocess": "webRequestBlockingPermissionRequired"
|
|
20140
19985
|
},
|
|
20141
19986
|
{
|
|
20142
19987
|
"id": "OnResponseStartedOptions",
|
|
@@ -21143,7 +20988,7 @@
|
|
|
21143
20988
|
{
|
|
21144
20989
|
"type": "function",
|
|
21145
20990
|
"optional": true,
|
|
21146
|
-
"name": "
|
|
20991
|
+
"name": "callback",
|
|
21147
20992
|
"parameters": [
|
|
21148
20993
|
{
|
|
21149
20994
|
"name": "response",
|
|
@@ -21162,7 +21007,6 @@
|
|
|
21162
21007
|
"type": "array",
|
|
21163
21008
|
"optional": true,
|
|
21164
21009
|
"name": "extraInfoSpec",
|
|
21165
|
-
"postprocess": "mutuallyExclusiveBlockingOrAsyncBlocking",
|
|
21166
21010
|
"description": "Array of extra information that should be passed to the listener function.",
|
|
21167
21011
|
"items": {
|
|
21168
21012
|
"$ref": "OnAuthRequiredOptions"
|