Backed out changeset 6aa6da68d232 (bug 1897636) for causing Xpcshell crashes at docsh...
[gecko.git] / .gitignore
blob05c1009eb5e80a9f61163561123c1161c2d5a823
1 # .gitignore - List of filenames git should ignore
3 # See docs/code-quality/lint/linters/ignorefile.rst for lint-ignore-next-line
4 # syntax.
6 # Filenames that should be ignored wherever they appear
7 *~
8 *.pyc
9 *.pyo
10 TAGS
11 tags
12 .DS_Store
13 *.pdb
14 .eslintcache
15 *.gcda
16 *.gcno
17 *.gcov
18 compile_commands.json
20 # Ignore ID generated by idutils.
23 # Un-ignore id directory (for Indonesian locale)
24 # lint-ignore-next-line: git-only
25 !id/
27 # Generated by hg or patch (e.g. revert, failed patch, ...)
28 *.orig
29 *.rej
31 # Filesystem temporaries
32 .fuse_hidden*
34 # Ignore Python .egg-info directories.
35 # This is only relevant for first-party modules, but adding that directory for
36 # third-party packages is dealt with by the script vendoring them.
37 *.egg-info/
39 # Vim swap files.
40 .*.sw[a-z]
41 .sw[a-z]
43 # Emacs directory variable files.
44 **/.dir-locals.el
45 # Emacs project sentinel files.
46 **/.projectile
48 # User files that may appear at the root
49 /.clang-tidy
50 /.clangd
51 /.mozconfig*
52 /mozconfig*
53 /.moz-fast-forward
54 /old-configure
55 /config.cache
56 /config.log
57 /.clang_complete
58 /machrc
59 /.machrc
61 # pyenv artifact
62 /.python-version
64 # Empty marker file that's generated when we check out NSS
65 security/manager/.nss.checkout
67 # Build directories
68 /obj*/
70 # gecko.log is generated by various test harnesses
71 /gecko.log
73 # Ignore all node_modules directories except for ones under third_party
74 node_modules/
75 devtools/**/node_modules/
76 tools/browsertime/node_modules/
77 tools/lint/eslint/eslint-plugin-mozilla/node_modules/
78 browser/components/asrouter/node_modules/
79 browser/components/newtab/node_modules/
80 browser/components/aboutwelcome/node_modules/
81 tools/ts/node_modules/
83 # Ignore newtab component build assets
84 browser/components/newtab/logs/
86 # Ignore about:welcome component build assets
87 browser/components/aboutwelcome/logs/
89 # Ignore ASRouter component build assets
90 browser/components/asrouter/logs/
92 # Ignore ASRouter generated test files
93 browser/components/asrouter/content-src/schemas/corpus/CFRMessageProvider.messages.json
94 browser/components/asrouter/content-src/schemas/corpus/OnboardingMessageProvider.messages.json
95 browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider.messages.json
96 browser/components/asrouter/content-src/schemas/corpus/PanelTestProvider_toast_notification.messages.json
98 # Ignore Pocket component build and dev assets
99 browser/components/pocket/content/panels/css/main.compiled.css.map
101 # Ignore downloaded thirdparty build artifacts.
102 toolkit/components/translations/bergamot-translator/thirdparty
104 # Build directories for js shell
105 *_DBG.OBJ/
106 *_OPT.OBJ/
107 /js/src/*-obj/
108 /js/src/obj-*/
110 # SpiderMonkey configury
111 js/src/old-configure
112 js/src/autom4te.cache
114 # SpiderMonkey test result logs
115 js/src/tests/results-*.html
116 js/src/tests/results-*.txt
117 js/src/devtools/rootAnalysis/t/out
119 # SpiderMonkey wasm/generate-spectests artifacts
120 js/src/jit-test/etc/wasm/generate-spectests/specs/
121 js/src/jit-test/etc/wasm/generate-spectests/tests/
122 js/src/jit-test/etc/wasm/generate-spectests/target/
124 # Java HTML5 parser classes
125 parser/html/java/htmlparser/
126 parser/html/java/javaparser/
127 parser/html/java/javaparser.jar
128 parser/html/java/translator.jar
130 # SVN directories
131 .svn/
133 # Ignore the files and directory that Eclipse IDE creates
134 .project
135 .cproject
136 .settings/
138 # Ignore the files and directory that JetBrains IDEs create.
139 **/.idea/
140 *.iml
142 # Android Monitor in Android Studio creates a captures/ directory.
143 /captures/
145 # Gradle cache.
146 /.gradle/
148 # Local Gradle configuration properties.
149 /local.properties
151 # Ignore chrome.manifest files from the devtools loader
152 devtools/client/chrome.manifest
153 devtools/shared/chrome.manifest
155 # Ignore debugger build directories
156 devtools/client/debugger/assets/build
157 devtools/client/debugger/assets/module-manifest.json
159 # Ignore node_module directories and npm artifacts
160 remote/test/puppeteer/**.tsbuildinfo
161 remote/test/puppeteer/**/lib/
162 remote/test/puppeteer/**/node_modules/
163 remote/test/puppeteer/**/.wireit/
164 remote/test/puppeteer/.devcontainer/
165 remote/test/puppeteer/.github
166 remote/test/puppeteer/.husky
167 remote/test/puppeteer/.wireit/
168 remote/test/puppeteer/coverage/
169 remote/test/puppeteer/docker/
170 remote/test/puppeteer/docs/puppeteer-core.api.json
171 remote/test/puppeteer/docs/puppeteer.api.json
172 remote/test/puppeteer/experimental/
173 remote/test/puppeteer/lib/
174 remote/test/puppeteer/node_modules/
175 remote/test/puppeteer/package-lock.json
176 remote/test/puppeteer/packages/ng-schematics/test/build
177 remote/test/puppeteer/packages/puppeteer/**/README.md
178 remote/test/puppeteer/packages/puppeteer-core/src/generated
179 remote/test/puppeteer/packages/puppeteer-core/**/README.md
180 remote/test/puppeteer/src/generated
181 remote/test/puppeteer/test/build
182 remote/test/puppeteer/test/installation/puppeteer*.tgz
183 remote/test/puppeteer/test/output-firefox
184 remote/test/puppeteer/test/output-chromium
185 remote/test/puppeteer/testserver/lib/
186 remote/test/puppeteer/tools/internal/
187 remote/test/puppeteer/tools/mocha-runner/bin/
188 remote/test/puppeteer/website
190 third_party/js/PKI.js/node_modules/
191 third_party/js/PKI.js/package-lock.json
193 # git checkout of libstagefright
194 media/libstagefright/android
196 # Tag files generated by GNU Global
197 GTAGS
198 GRTAGS
199 GSYMS
200 GPATH
202 # Git clone directory for updating web-platform-tests
203 testing/web-platform/sync/
205 # Third party metadata for web-platform-tests
206 testing/web-platform/products/
208 # Android Gradle artifacts.
209 mobile/android/gradle/.gradle
211 # Android build cache
212 mobile/android/**/.build-cache
213 mobile/android/**/.gradle
214 mobile/android/**/build
215 mobile/android/**/bin
216 mobile/android/**/generated
218 # Android local.properties
219 mobile/android/**/local.properties
221 # Android - Web extensions: manifest.json files are generated
222 mobile/android/**/manifest.json
224 # XCode project cruft
225 /*.xcodeproj/
227 # Rust/Cargo output from running `cargo` directly
228 /target/
229 /servo/ports/geckolib/target/
230 /dom/base/rust/target/
231 /servo/components/style/target/
232 /dom/webgpu/tests/cts/vendor/target/
234 # Ignore mozharness execution files
235 testing/mozharness/.tox/
236 testing/mozharness/build/
237 testing/mozharness/logs/
238 testing/mozharness/.coverage
239 testing/mozharness/nosetests.xml
241 # Ignore tox generated dir
242 .tox/
244 # Ignore talos virtualenv and tp5n files.
245 # The tp5n set is supposed to be decompressed at
246 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
247 # locally. Similarly, running talos requires a Python package virtual
248 # environment. Both the virtual environment and tp5n files end up littering
249 # the status command, so we ignore them.
250 testing/talos/.Python
251 testing/talos/bin/
252 testing/talos/include/
253 testing/talos/lib/
254 testing/talos/talos/fis/tp5n.zip
255 testing/talos/talos/fis/tp5n.tar.gz
256 testing/talos/talos/fis/tp5n
257 testing/talos/talos/tests/tp5n.zip
258 testing/talos/talos/tests/tp5n.tar.gz
259 testing/talos/talos/tests/tp5n
260 testing/talos/talos/tests/pdfpaint/pdfs
261 testing/talos/talos/tests/devtools/damp.manifest.develop
262 testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
263 testing/talos/talos/webextensions/
264 talos-venv
265 py3venv
266 testing/talos/talos/mitmproxy/mitmdump
267 testing/talos/talos/mitmproxy/mitmproxy
268 testing/talos/talos/mitmproxy/mitmweb
270 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
271 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
272 # i.e. speedometer, motionmark, stylebench
273 testing/talos/talos/tests/webkit/PerformanceTests
275 # Ignore sync tps logs and reports
276 tps.log
277 tps_result.json
279 # Ignore toolchains.json created by tooltool.
280 toolchains.json
282 # Unit test
283 .pytest_cache/
285 # Ruff
286 .ruff_cache/
288 # Ignore files created when running a reftest.
289 lextab.py
291 # Ignore Visual Studio/Visual Studio Code workspace files.
292 .vs/
293 .vscode/
294 *.user
296 # Thunderbird source tree
297 /comm/
299 # Ignore various raptor performance framework files
300 testing/raptor/.raptor-venv
301 testing/raptor/raptor-venv
302 testing/raptor/raptor/tests/json/
303 testing/raptor/webext/raptor/auto_gen_test_config.js
305 # Ignore condprofile build directory
306 testing/condprofile/build
308 # Ignore browsertime output directory
309 browsertime-results
311 # Ignore the build directories of WebGPU and WebRender standalone builds.
312 gfx/wgpu/target
313 gfx/wgpu/**/build
314 gfx/wr/target/
316 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
317 taskcluster/docker/image_builder/build-image/target
319 # Ignore ICU4X experimentation data files.
320 # See intl/ICU4X.md for more details.
321 config/external/icu4x
323 # Ignore the index files generated by clangd.
324 .cache/clangd/index/
326 # Ignore mypy files
327 .mypy_cache/
329 # Ignore Storybook generated files
330 browser/components/storybook/node_modules/
331 browser/components/storybook/storybook-static/
332 browser/components/storybook/.storybook/chrome-map.js
333 browser/components/storybook/custom-elements.json
335 # Ignore design-system node_modules
336 toolkit/themes/shared/design-system/node_modules/
338 # Ignore TypeScript declarations reference file updated by tooling.
339 tools/@types/index.d.ts
341 # Ignore support files for en-US dictionary updates
342 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
343 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
344 extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*
346 # Ignore automatically generated mots documentation
347 docs/mots/index.rst
349 # Ignore generated directory with .class files for GeckoView annotation processor
350 mobile/android/annotations/bin/
352 # Ignore generated log files under media/libvpx
353 media/libvpx/config/**/config.log