Skip to content

Extend example with "data_collection_permissions" field, which is now mandatory #43574

@Juraj-Masiar

Description

@Juraj-Masiar

MDN URL

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings

What specific section or headline is this issue about?

"Example" at the very top

What information was incorrect, unhelpful, or incomplete?

"browser_specific_settings": {
  "gecko": {
    "id": "@addon-example",
    "strict_min_version": "58.0"
  }
}

What did you expect to see?

"browser_specific_settings": {
  "gecko": {
    "id": "@addon-example",
    "data_collection_permissions": { "required": ["none"] },
    "strict_min_version": "140.0"
  }
}

Alternatively, a more complex example could be presented with an "optional" key too.
But this is what most people will need.
I would also update the strict_min_version to 140 since data collection requires modern Firefox and 140 is the first ESR that supports it.

Do you have any supporting links, references, or citations?

https://extensionworkshop.com/documentation/develop/firefox-builtin-data-consent/

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions