Enable support for browser_specific_settings in Firefox #6787
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Firefox supports
browser_specific_settings
as an alternative toapplications
because Chrome rejects addons withapplications
inside the manifest but supports thebrowser_specific_settings
field.This was originally introduced in here
And you can see it inside the Firefox codebase here
And supported by the Addons-linter here
Both Firefox and the addons-linter give warnings if both
applications
andbrowser_specific_settings
are present and give priority tobrowser_specific_settings
Similarly, my change gives priority to
browser_specific_settings
but I did not add a warning.X
in the preceding checkbox, I verify that I have signed the Contributor License AgreementThis change is