Skip to content

Commit 95365cd

Browse files
rebloorgithub-actions[bot]willdurand
authored
Bug 1954524 data collection permissions key in manifest doc and RN (#41694)
* Bug 1954524 data collection permissions key in manifest doc and RN * Added detail details on required and optional properties Added details on mandatory requirements * Apply linter suggestions Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * add technicalAndInteraction to optional (feedback) Co-authored-by: William Durand <[email protected]> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: William Durand <[email protected]>
1 parent ad9776a commit 95365cd

File tree

3 files changed

+15
-2
lines changed
  • files/en-us/mozilla

3 files changed

+15
-2
lines changed

files/en-us/mozilla/add-ons/webextensions/manifest.json/browser_specific_settings/index.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ sidebar: addonsidebar
1515
<tr>
1616
<th scope="row">Mandatory</th>
1717
<td>
18-
Usually, no (but see also
18+
Must be provided with details specified for <a href="#data_collection_permissions"><code>browser_specific_settings.gecko.data_collection_permissions</code></a> for new extension submitted to addons.mozilla.org from November 3, 2025.
19+
<br/>
20+
Otherwise, usually not required (but see also
1921
<a
2022
href="https://extensionworkshop.com/documentation/develop/extensions-and-the-add-on-id/#when-do-you-need-an-add-on-id"
2123
>When do you need an Add-on ID?</a
2224
>). Mandatory if the extension ID cannot be determined, see
23-
<a href="#firefox_gecko_properties"
25+
<a href="#id"
2426
><code>browser_specific_settings.gecko.id</code></a
2527
>.
2628
</td>
@@ -55,6 +57,15 @@ Firefox stores browser-specific settings in these sub-keys:
5557

5658
The `gecko` sub-key supports these properties:
5759

60+
- `data_collection_permissions`
61+
- : The optional and required data types that the extension collects and transmits for storage and processing outside the extension. These are represented by the properties:
62+
- `required`
63+
- : The data that the extension requires to be collected and transmitted for its operation. Must contain the value `none`, or one or more of `authenticationInfo`, `bookmarksInfo`, `browsingActivity`, `financialAndPaymentInfo`, `healthInfo`, `locationInfo`, `personalCommunications`, `personallyIdentifyingInfo`, `searchTerms`, `websiteActivity`, or `websiteContent`.
64+
- `optional` {{optional_inline}}
65+
- : The data that the user can opt to provide. Can contain one or more of `authenticationInfo`, `bookmarksInfo`, `browsingActivity`, `financialAndPaymentInfo`, `healthInfo`, `locationInfo`, `personalCommunications`, `personallyIdentifyingInfo`, `searchTerms`, `technicalAndInteraction`, `websiteActivity`, or `websiteContent`.
66+
67+
- : For more information, see the Extension Workshop article [Firefox built-in consent for data collection and transmission](https://extensionworkshop.com/documentation/develop/firefox-builtin-data-consent/).
68+
5869
- `id`
5970
- : The extension ID. When provided, this property must contain 80 characters or less. See [Extensions and the Add-on ID](https://extensionworkshop.com/documentation/develop/extensions-and-the-add-on-id/) to determine when to specify the ID.
6071
- `strict_min_version`

files/en-us/mozilla/firefox/releases/140/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ No notable changes.
7474
## Changes for add-on developers
7575

7676
- Support added for `unspecified` in {{WebExtAPIRef("cookies.SameSiteStatus")}}. In addition, `unspecified` is now the default value for `sameSite` in {{WebExtAPIRef("cookies.set()")}}. ([Firefox bug 1550032](https://bugzil.la/1550032))
77+
- Added the `data_collection_permissions` property to the `gecko` sub-key of the manifest key [`browser_specific_settings`](/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings) for Firefox for desktop. This property enables the Firefox built-in data collection consent feature. See the Extension Workshop article [Firefox built-in consent for data collection and transmission](http://extensionworkshop.com/documentation/develop/firefox-builtin-data-consent/). ([Firefox bug 1954524](https://bugzil.la/1954524))
7778

7879
## Experimental web features
7980

files/en-us/mozilla/firefox/releases/142/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ No notable changes.
7777
- The {{WebExtAPIRef("cookies")}} methods now accept and return milliseconds in the fractional part of `expirationDate`. ([Firefox bug 1972757](https://bugzil.la/1972757))
7878
- Adds the {{WebExtAPIRef("browserAction.onUserSettingsChanged")}} and {{WebExtAPIRef("action.onUserSettingsChanged")}} events that listen for changes in the user-specified settings that affect an extension's action. ([Firefox bug 1828220](https://bugzil.la/1828220))
7979
- Adds {{WebExtAPIRef("browserSettings.verticalTabs")}}, which enables extensions to control whether the browser displays the tab bar horizontally or vertically. ([Firefox bug 1946600](https://bugzil.la/1946600))
80+
- Enabled the Firefox built-in data collection consent feature for Firefox for Android. See the Extension Workshop article [Firefox built-in consent for data collection and transmission](http://extensionworkshop.com/documentation/develop/firefox-builtin-data-consent/). ([Firefox bug 1954524](https://bugzil.la/1954524))
8081

8182
## Experimental web features
8283

0 commit comments

Comments
 (0)