You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See #5090 (comment) and in particular #5090 (comment) for context. In short, there has not been any Firefox for Android release after version 68, until version 79. The BCD accounts for this by converting "firefox_android": "mirror" entries to 79 for features where firefox.version_added is between 68 and 79.
Up until recently, there were no new manifest features in this version range. Compatibility information for content_security_policy was fixed in mdn/browser-compat-data#21079 by declaring the content_security_policy object syntax as supported in 72+. For the reason above, this translates to support in Firefox for Android 79+.
Strictly speaking, a manifest that uses the content_security_policy object notation with gecko.strict_min_version 72 should pass validation. However, because the BCD translates the support version to 79, a warning is emitted.
Output has a KEY_FIREFOX_ANDROID_UNSUPPORTED_BY_MIN_VERSION warning:
Validation Summary:
errors 0
notices 0
warnings 1
WARNINGS:
Code Message Description File Line Column
KEY_FIREFOX_ANDROID_UNSUPPORTE… Manifest key not supported by the specified "strict_min_version" requires Firefox for Android 72, which was released before version 79 manifest.json
D_BY_MIN_VERSION minimum Firefox for Android version introduced support for "content_security_policy.extension_pages".
What did you expect to happen?
Output should not have any warnings:
Validation Summary:
errors 0
notices 0
warnings 0
Anything else we should know?
As of now, content_security_policy is the only manifest key that suffers from this issue.
Describe the problem and steps to reproduce it:
See #5090 (comment) and in particular #5090 (comment) for context. In short, there has not been any Firefox for Android release after version 68, until version 79. The BCD accounts for this by converting
"firefox_android": "mirror"
entries to 79 for features wherefirefox.version_added
is between 68 and 79.Up until recently, there were no new manifest features in this version range. Compatibility information for
content_security_policy
was fixed in mdn/browser-compat-data#21079 by declaring thecontent_security_policy
object syntax as supported in 72+. For the reason above, this translates to support in Firefox for Android 79+.Strictly speaking, a manifest that uses the
content_security_policy
object notation withgecko.strict_min_version
72 should pass validation. However, because the BCD translates the support version to 79, a warning is emitted.To reproduce, we're going to replace
node_modules/@mdn/browser-compat-data/data.json
with https://github.com/mdn/browser-compat-data/releases/download/v5.3.28/data.json (this simulates merging #5090) and then run the linter on the test case.testcase/
withtestcase/manifest.json
containing@mdn/browser-compat-data
dependency (to simulate merging chore(deps): bump @mdn/browser-compat-data from 5.3.24 to 5.3.28 #5090):What happened?
Output has a
KEY_FIREFOX_ANDROID_UNSUPPORTED_BY_MIN_VERSION
warning:What did you expect to happen?
Output should not have any warnings:
Anything else we should know?
As of now,
content_security_policy
is the only manifest key that suffers from this issue.┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: