1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
14 compile_commands\.json
16 # Ignore Python .egg-info directories for first-party modules (but,
17 # still add vendored packages' .egg-info directories)
18 ^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
24 # Emacs directory variable files.
26 # Emacs project sentinel files.
29 # User files that may appear at the root
42 # Empty marker file that's generated when we check out NSS
43 ^security/manager/\.nss\.checkout$
48 # gecko.log is generated by various test harnesses
51 # Ignore newtab component build assets
52 ^browser/components/newtab/logs/
54 # Ignore Pocket component build and dev assets
55 browser/components/pocket/content/panels/css/main.compiled.css.map
57 # Build directories for js shell
63 # SpiderMonkey configury
65 ^js/src/old-configure$
66 ^js/src/autom4te.cache$
67 # SpiderMonkey test result logs
68 ^js/src/tests/results-.*\.(html|txt)$
69 ^js/src/devtools/rootAnalysis/t/out
70 # SpiderMonkey wasm/generate-spectests artifacts
71 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
72 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
73 ^js/src/jit-test/etc/wasm/generate-spectests/target/
75 # Java HTML5 parser classes
76 ^parser/html/java/(html|java)parser/
81 # Ignore the files and directory that Eclipse IDE creates
86 # Ignore the files and directory that JetBrains IDEs create.
89 # Android Monitor in Android Studio creates a captures/ directory.
95 # Local Gradle configuration properties.
101 # Ignore chrome.manifest files from the devtools loader
102 ^devtools/client/chrome.manifest$
103 ^devtools/shared/chrome.manifest$
105 # Ignore node_modules directories in devtools
106 ^devtools/.*/node_modules/
108 # Ignore node_module directories and npm artifacts
109 ^remote/test/puppeteer/package-lock.json
110 ^remote/test/puppeteer/node_modules/
111 ^remote/test/puppeteer/.github
112 ^remote/test/puppeteer/.husky
113 ^remote/test/puppeteer/.local-chromium/
114 ^remote/test/puppeteer/.local-firefox/
115 ^remote/test/puppeteer/experimental/
116 ^remote/test/puppeteer/lib/
117 ^remote/test/puppeteer/test/output-firefox
118 ^remote/test/puppeteer/test/output-chromium
119 ^remote/test/puppeteer/website
121 # git checkout of libstagefright
122 ^media/libstagefright/android$
124 # Tag files generated by GNU Global
130 # Git clone directory for updating web-platform-tests
131 ^testing/web-platform/sync/
133 # Third party metadata for web-platform-tests
134 ^testing/web-platform/products/
136 # Android Gradle artifacts.
137 ^mobile/android/gradle/.gradle
139 # XCode project cruft
142 # Rust/Cargo output from running `cargo` directly
145 # Ignore mozharness execution files
146 ^testing/mozharness/.tox/
147 ^testing/mozharness/build/
148 ^testing/mozharness/logs/
149 ^testing/mozharness/.coverage
150 ^testing/mozharness/nosetests.xml
152 # Ignore tox generated dir
155 # Ignore ESLint and other tool's node_modules.
157 ^tools/browsertime/node_modules/
158 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
159 ^browser/components/newtab/node_modules/
161 # Ignore talos virtualenv and tp5n files.
162 # The tp5n set is supposed to be decompressed at
163 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
164 # locally. Similarly, running talos requires a Python package virtual
165 # environment. Both the virtual environment and tp5n files end up littering
166 # the status command, so we ignore them.
167 ^testing/talos/.Python
169 ^testing/talos/include/
171 ^testing/talos/talos/fis/tp5n.zip
172 ^testing/talos/talos/fis/tp5n.tar.gz
173 ^testing/talos/talos/fis/tp5n
174 ^testing/talos/talos/tests/tp5n.zip
175 ^testing/talos/talos/tests/tp5n.tar.gz
176 ^testing/talos/talos/tests/tp5n
177 ^testing/talos/talos/tests/devtools/damp.manifest.develop
178 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
179 ^testing/talos/talos/webextensions/
182 ^testing/talos/talos/mitmproxy/mitmdump
183 ^testing/talos/talos/mitmproxy/mitmproxy
184 ^testing/talos/talos/mitmproxy/mitmweb
186 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
187 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
188 # i.e. speedometer, motionmark, stylebench
189 ^testing/talos/talos/tests/webkit/PerformanceTests
191 # Ignore toolchains.json created by tooltool.
197 # Ignore files created when running a reftest.
200 # Ignore sync tps logs and reports
204 # Ignore Visual Studio/Visual Studio Code workspace files.
206 \.vscode/(?!extensions\.json|tasks\.json)
209 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
212 # Ignore various raptor performance framework files
213 ^testing/raptor/.raptor-venv
214 ^testing/raptor/raptor-venv
215 ^testing/raptor/raptor/tests/json/
216 ^testing/raptor/webext/raptor/auto_gen_test_config.js
218 # Ignore condprofile build directory
219 ^testing/condprofile/build
221 # Ignore browsertime output directory
224 # Ignore the build directories of WebGPU and WebRender standalone builds.
229 # Ignore this files in certviewer
230 toolkit/components/certviewer/content/node_modules/
231 toolkit/components/certviewer/content/package-lock.json
233 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
234 ^taskcluster/docker/image_builder/build-image/target
236 # Ignore ICU4X experimentation data files.
237 # See intl/ICU4X.md for more details.
238 ^config/external/icu4x
240 # Ignore the index files generated by clangd.
241 ^.cache/clangd/index/
246 # Ignore Storybook generated files
247 ^browser/components/storybook/node_modules/
248 ^browser/components/storybook/storybook-static/