-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider introducing a new error code for optional-only permissions #5554
Comments
We have a stub for MDN documentation, which we should link that from the dedicated message: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/optional_permissions#optional-only_permissions |
The current warning is This message is confusing. It would be nice if the message is more specific, e.g. In Chrome, Relevant unit test (from PR #5551) is at addons-linter/tests/unit/parsers/test.manifestjson.js Lines 1380 to 1401 in 2b56dc6
|
As a followup to #5551 we want to consider introducing a new error code to be associated to optional-only permissions being requested as non-optional.
Reasons for introducing a new error code would be:
The text was updated successfully, but these errors were encountered: