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