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
36 # Empty marker file that's generated when we check out NSS
37 ^security/manager/\.nss\.checkout$
42 # gecko.log is generated by various test harnesses
45 # Ignore newtab component build assets
46 ^browser/components/newtab/logs/
48 # Build directories for js shell
54 # SpiderMonkey configury
56 ^js/src/old-configure$
57 ^js/src/autom4te.cache$
58 # SpiderMonkey test result logs
59 ^js/src/tests/results-.*\.(html|txt)$
60 ^js/src/devtools/rootAnalysis/t/out
61 # SpiderMonkey clone of the wasm-generate-testsuite repository
62 ^js/src/jit-test/etc/wasm/wasm-generate-testsuite/
64 # Java HTML5 parser classes
65 ^parser/html/java/(html|java)parser/
70 # Ignore the files and directory that Eclipse IDE creates
75 # Ignore the files and directory that JetBrains IDEs create.
78 # Android Monitor in Android Studio creates a captures/ directory.
83 ^tools/infer/test/.gradle/
85 # Local Gradle configuration properties.
88 # Python stuff installed at build time.
89 ^third_party/python/psutil/.*\.so
90 ^third_party/python/psutil/.*\.pyd
91 ^third_party/python/psutil/build/
92 ^third_party/python/psutil/tmp/
97 # Ignore chrome.manifest files from the devtools loader
98 ^devtools/client/chrome.manifest$
99 ^devtools/shared/chrome.manifest$
101 # Ignore node_modules directories in devtools
102 ^devtools/.*/node_modules/
104 # Ignore node_module directories and npm artifacts
105 ^remote/test/puppeteer/package-lock.json
106 ^remote/test/puppeteer/node_modules/
107 ^remote/test/puppeteer/.local-chromium/
108 ^remote/test/puppeteer/.local-firefox/
109 ^remote/test/puppeteer/experimental/
110 ^remote/test/puppeteer/lib/
111 ^remote/test/puppeteer/test/output-firefox
112 ^remote/test/puppeteer/test/output-chromium
114 # git checkout of libstagefright
115 ^media/libstagefright/android$
117 # Tag files generated by GNU Global
123 # Git clone directory for updating web-platform-tests
124 ^testing/web-platform/sync/
126 # Third party metadata for web-platform-tests
127 ^testing/web-platform/products/
129 # Android Gradle artifacts.
130 ^mobile/android/gradle/.gradle
132 # XCode project cruft
135 # Rust/Cargo output from running `cargo` directly
138 # Ignore mozharness execution files
139 ^testing/mozharness/.tox/
140 ^testing/mozharness/build/
141 ^testing/mozharness/logs/
142 ^testing/mozharness/.coverage
143 ^testing/mozharness/nosetests.xml
145 # Ignore tox generated dir
148 # Ignore ESLint and other tool's node_modules.
150 ^tools/browsertime/node_modules/
151 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
153 # Ignore talos virtualenv and tp5n files.
154 # The tp5n set is supposed to be decompressed at
155 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
156 # locally. Similarly, running talos requires a Python package virtual
157 # environment. Both the virtual environment and tp5n files end up littering
158 # the status command, so we ignore them.
159 ^testing/talos/.Python
161 ^testing/talos/include/
163 ^testing/talos/talos/fis/tp5n.zip
164 ^testing/talos/talos/fis/tp5n.tar.gz
165 ^testing/talos/talos/fis/tp5n
166 ^testing/talos/talos/tests/tp5n.zip
167 ^testing/talos/talos/tests/tp5n.tar.gz
168 ^testing/talos/talos/tests/tp5n
169 ^testing/talos/talos/tests/devtools/damp.manifest.develop
170 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
171 ^testing/talos/talos/webextensions/
172 ^testing/talos/talos/tests/about-newtab/about_newtab.manifest.develop
175 ^testing/talos/talos/mitmproxy/mitmdump
176 ^testing/talos/talos/mitmproxy/mitmproxy
177 ^testing/talos/talos/mitmproxy/mitmweb
179 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
180 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
181 # i.e. speedometer, motionmark, stylebench
182 ^testing/talos/talos/tests/webkit/PerformanceTests
184 # Ignore toolchains.json created by tooltool.
187 # Ignore files created when running a reftest.
190 # Ignore sync tps logs and reports
194 # Ignore Visual Studio Code workspace files.
195 \.vscode/(?!extensions\.json|tasks\.json)
197 # Ignore Infer output
200 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
203 # Ignore various raptor performance framework files
204 ^testing/raptor/.raptor-venv
205 ^testing/raptor/raptor-venv
206 ^testing/raptor/raptor/tests/json/
207 ^testing/raptor/webext/raptor/auto_gen_test_config.js
209 # Ignore browsertime output directory
212 # Ignore the build directories of WebGPU and WebRender standalone builds.
217 # Ignore this files in certviewer
218 toolkit/components/certviewer/content/node_modules/
219 toolkit/components/certviewer/content/package-lock.json