The app validator is a tool built to test that apps are ready for submission to the Firefox Marketplace and are suitable for running on a variety of platforms. Apps submitted to the Marketplace are automatically run through the validator, which represents the first step of the review process.

Some checks that the validator performs include:

Using the App Validator

There are a couple of different ways to use the App Validator; this section details them both.

Online

The validator is available to Marketplace developers in the Marketplace Developer HubOn this page, you'll be presented with the option to validate a hosted app by providing the URL of the app's manifest, or validating a packaged app by uploading a zip file.

On Your Own Computer

The source code and setup documentation can be found on the app-validator Github page. You can install the validator on your own computer and run it without needing to access the Firefox Marketplace.

After following the setup instructions, you can use the validator by running the app-validator script in the root:

app-validator ~/src/path/to/my/manifest.webapp -v

The first argument should be the path to your manifest, the path to a ZIP file (for packaged apps) or a URL pointing at your manifest online. The -v argument outputs a verbose summary of each error, warning, and notice that the validator generates.

A full description of the arguments that the validator accepts and the forms of output that it can produce are available on Github.