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 # XCode project cruft
219 # Rust/Cargo output from running `cargo` directly
221 /servo/ports/geckolib/target/
222 /dom/base/rust/target/
223 /servo/components/style/target/
224 /dom/webgpu/tests/cts/vendor/target/
226 # Ignore mozharness execution files
227 testing/mozharness/.tox/
228 testing/mozharness/build/
229 testing/mozharness/logs/
230 testing/mozharness/.coverage
231 testing/mozharness/nosetests.xml
233 # Ignore tox generated dir
236 # Ignore talos virtualenv and tp5n files.
237 # The tp5n set is supposed to be decompressed at
238 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
239 # locally. Similarly, running talos requires a Python package virtual
240 # environment. Both the virtual environment and tp5n files end up littering
241 # the status command, so we ignore them.
242 testing/talos/.Python
244 testing/talos/include/
246 testing/talos/talos/fis/tp5n.zip
247 testing/talos/talos/fis/tp5n.tar.gz
248 testing/talos/talos/fis/tp5n
249 testing/talos/talos/tests/tp5n.zip
250 testing/talos/talos/tests/tp5n.tar.gz
251 testing/talos/talos/tests/tp5n
252 testing/talos/talos/tests/devtools/damp.manifest.develop
253 testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
254 testing/talos/talos/webextensions/
257 testing/talos/talos/mitmproxy/mitmdump
258 testing/talos/talos/mitmproxy/mitmproxy
259 testing/talos/talos/mitmproxy/mitmweb
261 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
262 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
263 # i.e. speedometer, motionmark, stylebench
264 testing/talos/talos/tests/webkit/PerformanceTests
266 # Ignore sync tps logs and reports
270 # Ignore toolchains.json created by tooltool.
279 # Ignore files created when running a reftest.
282 # Ignore Visual Studio/Visual Studio Code workspace files.
284 # lint-ignore-next-line: syntax-difference
286 # lint-ignore-next-line: syntax-difference
287 !.vscode/extensions.json
288 # lint-ignore-next-line: syntax-difference
292 # Thunderbird source tree
295 # Ignore various raptor performance framework files
296 testing/raptor/.raptor-venv
297 testing/raptor/raptor-venv
298 testing/raptor/raptor/tests/json/
299 testing/raptor/webext/raptor/auto_gen_test_config.js
301 # Ignore condprofile build directory
302 testing/condprofile/build
304 # Ignore browsertime output directory
307 # Ignore the build directories of WebGPU and WebRender standalone builds.
312 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
313 taskcluster/docker/image_builder/build-image/target
315 # Ignore ICU4X experimentation data files.
316 # See intl/ICU4X.md for more details.
317 config/external/icu4x
319 # Ignore the index files generated by clangd.
325 # Ignore Storybook generated files
326 browser/components/storybook/node_modules/
327 browser/components/storybook/storybook-static/
328 browser/components/storybook/.storybook/chrome-map.js
329 browser/components/storybook/custom-elements.json
331 # Ignore jscodeshift installed by mach esmify on windows
332 tools/esmify/jscodeshift
333 tools/esmify/jscodeshift.cmd
334 tools/esmify/jscodeshift.ps1
335 tools/esmify/package-lock.json
337 # Ignore TypeScript declarations reference file updated by tooling.
338 tools/@types/index.d.ts
340 # Ignore support files for en-US dictionary updates
341 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
342 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
343 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*
345 # Ignore automatically generated mots documentation
348 # Ignore generated directory with .class files for GeckoView annotation processor
349 mobile/android/annotations/bin/