-
Notifications
You must be signed in to change notification settings - Fork 342
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
Support enable-background-service-worker option #2916
Comments
What is the purpose of running |
Besides Rob question (which we are still interested in), we agreed that we would be willing to extend the --firefox-prefix option to support this use case (at the moment we enable mv3 addons-linter option by default, and we could add an opt-in one to enable the background service worker support as well). |
|
Thank you for agreeing to expand the option. As for why use web-ext lint, in my project, manifest.json and some code are different for Firefox and Chrome (most are the same). In addition to manual checks, |
Firefox 121+ allows now |
Firefox 121 does not support |
This is what i mean. Firefox 121 doesn't have a problem now if the |
I agree with @ximex . It's not uncommon to share a single However, now it returns a warning (mozilla/addons-linter#5152), which is in line with the behavior of Firefox. |
We should accept manifest.json files that specify both |
Is this a feature request or a bug?
Feature request
addons-linter supports the
--enable-background-service-worker
option on the command line. I would like to see this option supported in theweb-ext lint
command as well. This option is especially important when developing extensions for multiple browsers.The text was updated successfully, but these errors were encountered: