Skip to content

Validation failure: Mandatory data_collection_permissions in MV3 rejected by versioning logic #5989

@Seeaann13

Description

@Seeaann13

​Problem Description
Currently, the linter enforces the data_collection_permissions property for Manifest V3 extensions. However, it simultaneously triggers a warning/error stating that this key is not supported until Firefox 140, while MV3 requires strict_min_version: 115.
​Actual Behavior
Even when providing documented values like policy_agreement or unlabeled, the linter returns:
"/browser_specific_settings/gecko/data_collection_permissions/required/0" must be equal to one of the allowed values.
​This creates a deadlock where the property is both "mandatory" and "unsupported/invalid" at the same time.
​Environment
​Manifest Version: 3
​Target: Firefox Android (strict_min_version: 115)
​Linter: addons-linter (web-based)
​Files to reproduce

manifest.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions