Changes

Jump to: navigation, search

WebExtensions/Contribution Onramp

100 bytes added, 09:34, 23 October 2020
Setting Up Developer Environment: add link to firefox-sources setup doc page and updated MDN links that have been moved to firefox-sources docs
* Run unit tests to verify that your environment works as expected, preferably tests related to the bug that you want to work on.
== Setting Up Developer Environment ==  '''For a detailed overview, see [https://firefox-source-docs.mozilla.org/setup/index.html Getting Set Up To Work On The Firefox Codebase]'''. In short:
* Now, you need to set up your development environment by [https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html#clone-the-sources cloning the source] with mercurial or [https://github.com/glandium/git-cinnabar/wiki/Mozilla:-A-git-workflow-for-Gecko-development with Git].
* Then you need to install dependencies with <code>mach bootstrap</code> for building Firefox. There are two ways to do this:
** [recommended] Build Firefox using [https://developerfirefox-source-docs.mozilla.org/en-UScontributing/docsbuild/Mozilla/Developer_guide/Build_Instructions/Artifact_builds artifact_builds.html Firefox Artifact builds]. If the issue only requires changes to privileged JavaScript code, we recommend you use this method. Artifact builds saves time because it downloads a pre-built version of Firefox sources and applies your local changes on it, instead of rebuilding all of the C++ and Rust pieces from scratch.
*** To build Firefox for Android, see the [https://firefox-source-docs.mozilla.org/mobile/android/geckoview/contributor/geckoview-quick-start.html GeckoView Contributor guide]. For a faster local development experience, we recommend to use the Artifact builds and the Android x86 target (which is especially useful to run the tests locally).
** [default] Build Firefox from scratch, by running <code>mach build</code> without [https://developerfirefox-source-docs.mozilla.org/en-USsetup/docs/Mozilla/Developer_guide/Build_Instructions/Configuring_Build_Options configuring_build_options.html .mozconfig]. Note: doing this can take some time.
* Next, use [https://searchfox.org Searchfox] to find the code associated with your bug.
41
edits

Navigation menu