1 # .gitignore - List of filenames git should ignore
3 # See docs/code-quality/lint/linters/ignorefile.rst for lint-ignore-next-line
6 # Filenames that should be ignored wherever they appear
20 # Ignore ID generated by idutils.
23 # Un-ignore id directory (for Indonesian locale)
24 # lint-ignore-next-line: git-only
27 # Generated by hg or patch (e.g. revert, failed patch, ...)
31 # Filesystem temporaries
34 # Ignore Python .egg-info directories for first-party modules (but,
35 # still add vendored packages' .egg-info directories)
36 # lint-ignore-next-line: syntax-difference
38 # lint-ignore-next-line: syntax-difference
39 !third_party/python/**/*.egg-info
40 # lint-ignore-next-line: syntax-difference
41 !testing/web-platform/tests/tools/third_party/**/*.egg-info
47 # Emacs directory variable files.
49 # Emacs project sentinel files.
52 # User files that may appear at the root
68 # Empty marker file that's generated when we check out NSS
69 security/manager/.nss.checkout
74 # gecko.log is generated by various test harnesses
77 # Ignore all node_modules directories except for ones under third_party
79 devtools/**/node_modules/
80 tools/browsertime/node_modules/
81 tools/lint/eslint/eslint-plugin-mozilla/node_modules/
82 browser/components/asrouter/node_modules/
83 browser/components/newtab/node_modules/
84 browser/components/aboutwelcome/node_modules/
85 tools/esmify/node_modules/
86 tools/ts/node_modules/
88 # Ignore newtab component build assets
89 browser/components/newtab/logs/
91 # Ignore about:welcome component build assets
92 browser/components/aboutwelcome/logs/
94 # Ignore ASRouter component build assets
95 browser/components/asrouter/logs/
97 # Ignore ASRouter generated test files
98 browser/components/asrouter/content-src/schemas/corpus/CFRMessageProvider.messages.json
99 browser/components/asrouter/content-src/schemas/corpus/OnboardingMessageProvider.messages.json
100 browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider.messages.json
101 browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider_toast_notification.messages.json
103 # Ignore Pocket component build and dev assets
104 browser/components/pocket/content/panels/css/main.compiled.css.map
106 # Ignore downloaded thirdparty build artifacts.
107 toolkit/components/translations/bergamot-translator/thirdparty
109 # Build directories for js shell
115 # SpiderMonkey configury
117 js/src/autom4te.cache
119 # SpiderMonkey test result logs
120 js/src/tests/results-*.html
121 js/src/tests/results-*.txt
122 js/src/devtools/rootAnalysis/t/out
124 # SpiderMonkey wasm/generate-spectests artifacts
125 js/src/jit-test/etc/wasm/generate-spectests/specs/
126 js/src/jit-test/etc/wasm/generate-spectests/tests/
127 js/src/jit-test/etc/wasm/generate-spectests/target/
129 # Java HTML5 parser classes
130 parser/html/java/htmlparser/
131 parser/html/java/javaparser/
132 parser/html/java/javaparser.jar
133 parser/html/java/translator.jar
138 # Ignore the files and directory that Eclipse IDE creates
143 # Ignore the files and directory that JetBrains IDEs create.
147 # Android Monitor in Android Studio creates a captures/ directory.
153 # Local Gradle configuration properties.
156 # Ignore chrome.manifest files from the devtools loader
157 devtools/client/chrome.manifest
158 devtools/shared/chrome.manifest
160 # Ignore debugger build directories
161 devtools/client/debugger/assets/build
162 devtools/client/debugger/assets/module-manifest.json
164 # Ignore node_module directories and npm artifacts
165 remote/test/puppeteer/**.tsbuildinfo
166 remote/test/puppeteer/**/lib/
167 remote/test/puppeteer/**/node_modules/
168 remote/test/puppeteer/**/.wireit/
169 remote/test/puppeteer/.devcontainer/
170 remote/test/puppeteer/.github
171 remote/test/puppeteer/.husky
172 remote/test/puppeteer/.wireit/
173 remote/test/puppeteer/coverage/
174 remote/test/puppeteer/docker/
175 remote/test/puppeteer/docs/puppeteer-core.api.json
176 remote/test/puppeteer/docs/puppeteer.api.json
177 remote/test/puppeteer/experimental/
178 remote/test/puppeteer/lib/
179 remote/test/puppeteer/node_modules/
180 remote/test/puppeteer/package-lock.json
181 remote/test/puppeteer/packages/ng-schematics/test/build
182 remote/test/puppeteer/packages/puppeteer/**/README.md
183 remote/test/puppeteer/packages/puppeteer-core/src/generated
184 remote/test/puppeteer/packages/puppeteer-core/**/README.md
185 remote/test/puppeteer/src/generated
186 remote/test/puppeteer/test/build
187 remote/test/puppeteer/test/installation/puppeteer*.tgz
188 remote/test/puppeteer/test/output-firefox
189 remote/test/puppeteer/test/output-chromium
190 remote/test/puppeteer/testserver/lib/
191 remote/test/puppeteer/tools/internal/
192 remote/test/puppeteer/tools/mocha-runner/bin/
193 remote/test/puppeteer/website
195 third_party/js/PKI.js/node_modules/
196 third_party/js/PKI.js/package-lock.json
198 # git checkout of libstagefright
199 media/libstagefright/android
201 # Tag files generated by GNU Global
207 # Git clone directory for updating web-platform-tests
208 testing/web-platform/sync/
210 # Third party metadata for web-platform-tests
211 testing/web-platform/products/
213 # Android Gradle artifacts.
214 mobile/android/gradle/.gradle
216 # Android build cache
217 mobile/android/**/.build-cache
218 mobile/android/**/.gradle
219 mobile/android/**/build
220 mobile/android/**/bin
221 mobile/android/**/generated
223 # Android local.properties
224 mobile/android/**/local.properties
226 # Android - Web extensions: manifest.json files are generated
227 mobile/android/**/manifest.json
229 # XCode project cruft
232 # Rust/Cargo output from running `cargo` directly
234 /servo/ports/geckolib/target/
235 /dom/base/rust/target/
236 /servo/components/style/target/
237 /dom/webgpu/tests/cts/vendor/target/
239 # Ignore mozharness execution files
240 testing/mozharness/.tox/
241 testing/mozharness/build/
242 testing/mozharness/logs/
243 testing/mozharness/.coverage
244 testing/mozharness/nosetests.xml
246 # Ignore tox generated dir
249 # Ignore talos virtualenv and tp5n files.
250 # The tp5n set is supposed to be decompressed at
251 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
252 # locally. Similarly, running talos requires a Python package virtual
253 # environment. Both the virtual environment and tp5n files end up littering
254 # the status command, so we ignore them.
255 testing/talos/.Python
257 testing/talos/include/
259 testing/talos/talos/fis/tp5n.zip
260 testing/talos/talos/fis/tp5n.tar.gz
261 testing/talos/talos/fis/tp5n
262 testing/talos/talos/tests/tp5n.zip
263 testing/talos/talos/tests/tp5n.tar.gz
264 testing/talos/talos/tests/tp5n
265 testing/talos/talos/tests/devtools/damp.manifest.develop
266 testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
267 testing/talos/talos/webextensions/
270 testing/talos/talos/mitmproxy/mitmdump
271 testing/talos/talos/mitmproxy/mitmproxy
272 testing/talos/talos/mitmproxy/mitmweb
274 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
275 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
276 # i.e. speedometer, motionmark, stylebench
277 testing/talos/talos/tests/webkit/PerformanceTests
279 # Ignore sync tps logs and reports
283 # Ignore toolchains.json created by tooltool.
292 # Ignore files created when running a reftest.
295 # Ignore Visual Studio/Visual Studio Code workspace files.
297 # lint-ignore-next-line: syntax-difference
299 # lint-ignore-next-line: syntax-difference
300 !.vscode/extensions.json
301 # lint-ignore-next-line: syntax-difference
305 # Thunderbird source tree
308 # Ignore various raptor performance framework files
309 testing/raptor/.raptor-venv
310 testing/raptor/raptor-venv
311 testing/raptor/raptor/tests/json/
312 testing/raptor/webext/raptor/auto_gen_test_config.js
314 # Ignore condprofile build directory
315 testing/condprofile/build
317 # Ignore browsertime output directory
320 # Ignore the build directories of WebGPU and WebRender standalone builds.
325 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
326 taskcluster/docker/image_builder/build-image/target
328 # Ignore ICU4X experimentation data files.
329 # See intl/ICU4X.md for more details.
330 config/external/icu4x
332 # Ignore the index files generated by clangd.
338 # Ignore Storybook generated files
339 browser/components/storybook/node_modules/
340 browser/components/storybook/storybook-static/
341 browser/components/storybook/.storybook/chrome-map.js
342 browser/components/storybook/custom-elements.json
344 # Ignore jscodeshift installed by mach esmify on windows
345 tools/esmify/jscodeshift
346 tools/esmify/jscodeshift.cmd
347 tools/esmify/jscodeshift.ps1
348 tools/esmify/package-lock.json
350 # Ignore TypeScript declarations reference file updated by tooling.
351 tools/@types/index.d.ts
353 # Ignore support files for en-US dictionary updates
354 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
355 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
356 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*
358 # Ignore automatically generated mots documentation
361 # Ignore generated directory with .class files for GeckoView annotation processor
362 mobile/android/annotations/bin/
364 # Ignore generated log files under media/libvpx
365 media/libvpx/config/**/config.log