Skip to content

fix: clear firefox amo submission warnings#1388

Merged
lidel merged 3 commits into
mainfrom
chore/firefox-amo-manifest
Jul 21, 2026
Merged

fix: clear firefox amo submission warnings#1388
lidel merged 3 commits into
mainfrom
chore/firefox-amo-manifest

Conversation

@lidel

@lidel lidel commented Jul 21, 2026

Copy link
Copy Markdown
Member

Problem

Submitting the v3.4.0 Firefox build to addons.mozilla.org raised validator warnings. The required data_collection_permissions key was missing1, and strict_min_version was 111, below Firefox 113 where the declarativeNetRequest APIs the bundle references first exist.

Fix

  • declare no data collection: data_collection_permissions.required set to ["none"], matching our no-tracking privacy policy
  • raise strict_min_version to 113, the floor for the declarativeNetRequest namespace (getDynamicRules)
  • document why the i18n innerHTML is safe, since addons-linter keeps flagging it

The 113 bump drops Firefox 111-112 (March-April 2023); those declarativeNetRequest paths never run on Firefox anyway, which uses webRequestBlocking. Two validator warnings remain and are expected: the consent key is only recognized in Firefox 140+, so a lower min version draws an informational note and older Firefox ignores the key. The innerHTML warnings also remain by design; their input is our own bundled translations, and the code now says so inline.

Footnotes

  1. Firefox built-in data consent: the key is required for new extensions and, in future, new versions of existing ones.

lidel added 2 commits July 22, 2026 01:09
AMO flagged v3.4.0 for a missing data_collection_permissions key and for
referencing declarativeNetRequest APIs below their supported Firefox
version.

- declare no data collection with required ["none"]
- raise strict_min_version to 113, where the declarativeNetRequest
  namespace (getDynamicRules) becomes available
@lidel
lidel requested a review from a team as a code owner July 21, 2026 23:12
@lidel lidel changed the title chore: clear firefox amo submission warnings fix: clear firefox amo submission warnings Jul 21, 2026
@lidel
lidel merged commit a6a4de0 into main Jul 21, 2026
3 checks passed
@lidel
lidel deleted the chore/firefox-amo-manifest branch July 21, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant