Working with Mozilla source code

The articles below will help you get your hands on the Mozilla source code, learn to navigate the code, and how to get the changes you propose checked into the tree.

Getting a pre-configured Mozilla build system virtual machine
This is the easiest way to get started: use a VirtualBox virtual machine which is already configured with a complete build environment for you to use. Just boot the VM and build!
Viewing and searching Mozilla source code online
Learn how to use Searchfox, Mozilla's online search and browsing tool for accessing the source code. This isn't a good way to download the code, but is a great way to search it.
Navigating the Mozilla source code
Learn about the various folders in the Mozilla source tree, and how to find what you're looking for.
Bugs for newcomers
If you are new to the project and want something to work on, look here.
Interface development guide
Guidelines and documentation for how to create and update XPCOM interfaces.
The Firefox codebase: CSS Guidelines
This document contains guidelines defining how CSS inside the Firefox codebase should be written, it is notably relevant for Firefox front-end engineers.
SVG Cleanup Guide
Guidelines and best practices for shipping new SVGs.
Try Servers
Mozilla products build on at least three platforms. If you don't have access to them all, you can use the try servers to test your patches and make sure the tests pass.
Creating a patch
Once you've made a change to the Mozilla code, the next step (after making sure it works) is to create a patch and submit it for review. This article needs to be updated fully for Mercurial.
Getting commit access to the source code
Feel ready to join the few, the proud, the committers? Find out how to get check-in access to the Mozilla code.