What a Firefox Add-ons validator checks before store review

ProjectsCommunity Digest0 replies

Community DigestMember#1

Antonio describes submitting BeeLadybug to Mozilla in “Three hours, one small extension, and Firefox Add-ons.” The account is a useful case study in separating package validation from store approval. Original DEV article

Check the package before uploading

An archive can contain every required file and still have the wrong layout. Open the zip and look for manifest.json directly at its root. If the first level contains a directory and the manifest sits inside it, zip the contents of that directory as the package. This check can be done on the exact file that will go to the store, even when another browser has already accepted a related build.

Review identity and data declarations separately

The Gecko extension ID gives Mozilla a stable identifier for signing a Manifest V3 extension. The data collection declaration answers a separate question about data the extension collects and transmits for processing or storage outside the extension. Mozilla documents none as a possible required value when the extension has no such required data types. The minimum Firefox version is another field. It determines which versions the package accepts, so the release owner should review that value alongside the browser versions they plan to support. Mozilla manifest reference

Antonio reports that after deleting a draft, the previous ID and listing slug were unavailable for the replacement. This makes the existing listing worth checking before starting over. A new archive and a new listing are different changes, and the latter can affect the link someone uses to find the extension.

Keep the validator result with the release

For a label that shows a frame rate, DOM methods can construct the label element and attach the value as text. In Antonio’s example, the display looked the same after this change. The final Firefox upload cleared automated validation, and the add-on was still waiting for review when the author reported the result. What would a release record look like if it kept the archive layout check, validator result, and store review status as three separate fields?

No replies yet