1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
15 compile_commands\.json
21 # Emacs directory variable files.
23 # Emacs project sentinel files.
26 # User files that may appear at the root
38 # Empty marker file that's generated when we check out NSS
39 ^security/manager/\.nss\.checkout$
44 # gecko.log is generated by various test harnesses
47 # Ignore newtab component build assets
48 ^browser/components/newtab/logs/
50 # Build directories for js shell
56 # SpiderMonkey configury
58 ^js/src/old-configure$
59 ^js/src/autom4te.cache$
60 # SpiderMonkey test result logs
61 ^js/src/tests/results-.*\.(html|txt)$
62 ^js/src/devtools/rootAnalysis/t/out
63 # SpiderMonkey wasm/generate-spectests artifacts
64 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
65 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
66 ^js/src/jit-test/etc/wasm/generate-spectests/target/
68 # Java HTML5 parser classes
69 ^parser/html/java/(html|java)parser/
74 # Ignore the files and directory that Eclipse IDE creates
79 # Ignore the files and directory that JetBrains IDEs create.
82 # Android Monitor in Android Studio creates a captures/ directory.
88 # Local Gradle configuration properties.
94 # Ignore chrome.manifest files from the devtools loader
95 ^devtools/client/chrome.manifest$
96 ^devtools/shared/chrome.manifest$
98 # Ignore node_modules directories in devtools
99 ^devtools/.*/node_modules/
101 # Ignore node_module directories and npm artifacts
102 ^remote/test/puppeteer/package-lock.json
103 ^remote/test/puppeteer/node_modules/
104 ^remote/test/puppeteer/.local-chromium/
105 ^remote/test/puppeteer/.local-firefox/
106 ^remote/test/puppeteer/experimental/
107 ^remote/test/puppeteer/lib/
108 ^remote/test/puppeteer/test/output-firefox
109 ^remote/test/puppeteer/test/output-chromium
111 # git checkout of libstagefright
112 ^media/libstagefright/android$
114 # Tag files generated by GNU Global
120 # Git clone directory for updating web-platform-tests
121 ^testing/web-platform/sync/
123 # Third party metadata for web-platform-tests
124 ^testing/web-platform/products/
126 # Android Gradle artifacts.
127 ^mobile/android/gradle/.gradle
129 # XCode project cruft
132 # Rust/Cargo output from running `cargo` directly
135 # Ignore mozharness execution files
136 ^testing/mozharness/.tox/
137 ^testing/mozharness/build/
138 ^testing/mozharness/logs/
139 ^testing/mozharness/.coverage
140 ^testing/mozharness/nosetests.xml
142 # Ignore tox generated dir
145 # Ignore ESLint and other tool's node_modules.
147 ^tools/browsertime/node_modules/
148 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
149 ^browser/components/newtab/node_modules/
151 # Ignore talos virtualenv and tp5n files.
152 # The tp5n set is supposed to be decompressed at
153 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
154 # locally. Similarly, running talos requires a Python package virtual
155 # environment. Both the virtual environment and tp5n files end up littering
156 # the status command, so we ignore them.
157 ^testing/talos/.Python
159 ^testing/talos/include/
161 ^testing/talos/talos/fis/tp5n.zip
162 ^testing/talos/talos/fis/tp5n.tar.gz
163 ^testing/talos/talos/fis/tp5n
164 ^testing/talos/talos/tests/tp5n.zip
165 ^testing/talos/talos/tests/tp5n.tar.gz
166 ^testing/talos/talos/tests/tp5n
167 ^testing/talos/talos/tests/devtools/damp.manifest.develop
168 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
169 ^testing/talos/talos/webextensions/
172 ^testing/talos/talos/mitmproxy/mitmdump
173 ^testing/talos/talos/mitmproxy/mitmproxy
174 ^testing/talos/talos/mitmproxy/mitmweb
176 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
177 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
178 # i.e. speedometer, motionmark, stylebench
179 ^testing/talos/talos/tests/webkit/PerformanceTests
181 # Ignore toolchains.json created by tooltool.
184 # Ignore files created when running a reftest.
187 # Ignore sync tps logs and reports
191 # Ignore Visual Studio Code workspace files.
192 \.vscode/(?!extensions\.json|tasks\.json)
194 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
197 # Ignore various raptor performance framework files
198 ^testing/raptor/.raptor-venv
199 ^testing/raptor/raptor-venv
200 ^testing/raptor/raptor/tests/json/
201 ^testing/raptor/webext/raptor/auto_gen_test_config.js
203 # Ignore browsertime output directory
206 # Ignore the build directories of WebGPU and WebRender standalone builds.
211 # Ignore this files in certviewer
212 toolkit/components/certviewer/content/node_modules/
213 toolkit/components/certviewer/content/package-lock.json
215 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
216 ^taskcluster/docker/image_builder/build-image/target