addons-server icon indicating copy to clipboard operation
addons-server copied to clipboard

Manifest v3 browser_specific_settings.gecko.strict_max_version doesn't allow "*"

Open LouisJULIEN opened this issue 1 year ago • 0 comments

I submitted my first Thunderbird plugin today with the following manifest (truncated)

{
  "manifest_version": 3,
  "name": "Create Calendar events from mail content",
  "homepage_url": "https://github.com/LouisJULIEN/thunderbird_plugin_mail_to_event",
  "version": "0.1",
  ...
  "browser_specific_settings": {
    "gecko": {
      "id": "[email protected]",
      "strict_min_version": "128.0",
      "strict_max_version": "*"
    }
  },
  "message_display_action": {
    "default_popup": "create_event_button/pop_up_button.html",
    "default_title": "Create event",
    "default_icon": "images/calendar.svg"
  },
  "icons": {
    "64": "images/calendar.svg",
    "32": "images/calendar.svg",
    "16": "images/calendar.svg"
  },
  "permissions": [
    "messagesRead"
  ],
  "experiment_apis": {
...
}
}

The value "*" for strict_max_version was denied by the linter.

Image

However, the documentation clearly states that "*" is allowed. https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings#strict_max_version .

To bypass the issue, I wrote "strict_max_version": "129.0" and it worked.

LouisJULIEN avatar Nov 30 '24 12:11 LouisJULIEN