diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:44:51 +0000 |
commit | 9e3c08db40b8916968b9f30096c7be3f00ce9647 (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /toolkit/mozapps/extensions/docs/AMRemoteSettings-JSONSchema.json | |
parent | Initial commit. (diff) | |
download | thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.tar.xz thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/mozapps/extensions/docs/AMRemoteSettings-JSONSchema.json')
-rw-r--r-- | toolkit/mozapps/extensions/docs/AMRemoteSettings-JSONSchema.json | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/docs/AMRemoteSettings-JSONSchema.json b/toolkit/mozapps/extensions/docs/AMRemoteSettings-JSONSchema.json new file mode 100644 index 0000000000..46d15bc56e --- /dev/null +++ b/toolkit/mozapps/extensions/docs/AMRemoteSettings-JSONSchema.json @@ -0,0 +1,56 @@ +{ + "type": "object", + "required": ["id"], + "properties": { + "id": { + "type": "string", + "default": "AddonManagerSettings", + "description": "The default id should NOT be changed, unless there is a specific need to create separate collection entries which target or exclude specific Firefox versions." + }, + "installTriggerDeprecation": { + "$ref": "#/definitions/installTriggerDeprecation", + "optional": true + }, + "quarantinedDomains": { + "$ref": "#/definitions/quarantinedDomains", + "optional": true + }, + "filter_expression": { + "type": "string", + "description": "This is NOT directly used by AMRemoteSettings, but has special functionality in Remote Settings.\nSee https://remote-settings.readthedocs.io/en/latest/target-filters.html#how", + "optional": true + } + }, + "definitions": { + "installTriggerDeprecation": { + "type": "object", + "properties": { + "extensions.InstallTrigger.enabled": { + "type": "boolean", + "default": false, + "description": "Show/Hide the InstallTrigger global completely (both the global and its methods will not be accessible anymore). IMPORTANT: The webcompat team should be consulted before turning this to false, because it may also potentially impact UA detection for some websites." + }, + "extensions.InstallTriggerImpl.enabled": { + "type": "boolean", + "default": false, + "description": "Show/Hide the InstallTrigger methods. The InstallTrigger global will remain visible but set to null." + } + }, + "description": "These settings control the visibility of the InstallTrigger global and its methods.", + "additionalProperties": false + }, + "quarantinedDomains": { + "type": "object", + "properties": { + "extensions.quarantinedDomains.list": { + "type": "string", + "default": "", + "maxLength": 1048576, + "description": "Set of domains to be quarantined separated by a comma (e.g. 'domain1.org,domain2.com'). NOTE: this pref value should be set to a ASCII encoded string and its size smaller than 1MB" + } + }, + "description": "These settings provide a set of domain names to be quarantined (restricted by default to unverified extensions, which only the app or the user may grant back). IMPORTANT: The add-ons team should be consulted before introducing any new entry of this type.", + "additionalProperties": false + } + } +} |