Skip to content
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

MANIFEST_FIELD_UNSUPPORTED with service_worker on MV3 #4874

Closed
aokellermann opened this issue May 12, 2023 · 1 comment
Closed

MANIFEST_FIELD_UNSUPPORTED with service_worker on MV3 #4874

aokellermann opened this issue May 12, 2023 · 1 comment

Comments

@aokellermann
Copy link

aokellermann commented May 12, 2023

Describe the problem and steps to reproduce it:

standard use of service_worker with MV3 causes MANIFEST_FIELD_UNSUPPORTED:

  "background": {
    "service_worker": "background.js"
  }
$ bin/addons-linter ../nexus-now
Validation Summary:

errors          1              
notices         0              
warnings        0              

ERRORS:

Code                         Message                                          Description                                      File            Line   Column
MANIFEST_FIELD_UNSUPPORTED   "/background/service_worker" is not supported.   "/background/service_worker" is not supported.   manifest.json             

commit to reproduce:
aokellermann/nexus-now@b24546c

I used addons-linter binary built locally from this commit (master as of creating this issue):
12ba1f4

What happened?

lint error

What did you expect to happen?

no lint error

Anything else we should know?

┆Issue is synchronized with this Jira Task

@aokellermann
Copy link
Author

mozilla/web-ext#2532

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

No branches or pull requests

1 participant