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.
24 # User files that may appear at the root
34 # Empty marker file that's generated when we check out NSS
35 ^security/manager/\.nss\.checkout$
40 # gecko.log is generated by various test harnesses
43 # Ignore newtab component build assets
44 ^browser/components/newtab/logs/
46 # Build directories for js shell
52 # SpiderMonkey configury
54 ^js/src/old-configure$
55 ^js/src/autom4te.cache$
56 # SpiderMonkey test result logs
57 ^js/src/tests/results-.*\.(html|txt)$
58 ^js/src/devtools/rootAnalysis/t/out
59 # SpiderMonkey clone of the webassembly spec repository
62 # Java HTML5 parser classes
63 ^parser/html/java/(html|java)parser/
68 # Ignore the files and directory that Eclipse IDE creates
73 # Ignore the files and directory that JetBrains IDEs create.
76 # Android Monitor in Android Studio creates a captures/ directory.
81 ^tools/infer/test/.gradle/
83 # Local Gradle configuration properties.
86 # Python stuff installed at build time.
87 ^third_party/python/psutil/.*\.so
88 ^third_party/python/psutil/.*\.pyd
89 ^third_party/python/psutil/build/
90 ^third_party/python/psutil/tmp/
95 # Ignore chrome.manifest files from the devtools loader
96 ^devtools/client/chrome.manifest$
97 ^devtools/shared/chrome.manifest$
99 # Ignore node_modules directories in devtools
100 ^devtools/.*/node_modules/
102 # Ignore node_module directories and npm artifacts
103 ^remote/test/puppeteer/package-lock.json
104 ^remote/test/puppeteer/node_modules/
105 ^remote/test/puppeteer/.local-chromium/
107 # git checkout of libstagefright
108 ^media/libstagefright/android$
110 # Tag files generated by GNU Global
116 # Git clone directory for updating web-platform-tests
117 ^testing/web-platform/sync/
119 # Third party metadata for web-platform-tests
120 ^testing/web-platform/products/
122 # Android Gradle artifacts.
123 ^mobile/android/gradle/.gradle
125 # XCode project cruft
128 # Rust/Cargo output from running `cargo` directly
131 # Ignore mozharness execution files
132 ^testing/mozharness/.tox/
133 ^testing/mozharness/build/
134 ^testing/mozharness/logs/
135 ^testing/mozharness/.coverage
136 ^testing/mozharness/nosetests.xml
138 # Ignore tox generated dir
141 # Ignore ESLint and other tool's node_modules.
143 ^tools/browsertime/node_modules/
144 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
146 # Ignore talos virtualenv and tp5n files.
147 # The tp5n set is supposed to be decompressed at
148 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
149 # locally. Similarly, running talos requires a Python package virtual
150 # environment. Both the virtual environment and tp5n files end up littering
151 # the status command, so we ignore them.
152 ^testing/talos/.Python
154 ^testing/talos/include/
156 ^testing/talos/talos/fis/tp5n.zip
157 ^testing/talos/talos/fis/tp5n.tar.gz
158 ^testing/talos/talos/fis/tp5n
159 ^testing/talos/talos/tests/tp5n.zip
160 ^testing/talos/talos/tests/tp5n.tar.gz
161 ^testing/talos/talos/tests/tp5n
162 ^testing/talos/talos/tests/devtools/damp.manifest.develop
163 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
164 ^testing/talos/talos/webextensions/
165 ^testing/talos/talos/tests/about-newtab/about_newtab.manifest.develop
168 ^testing/talos/talos/mitmproxy/mitmdump
169 ^testing/talos/talos/mitmproxy/mitmproxy
170 ^testing/talos/talos/mitmproxy/mitmweb
172 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
173 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
174 # i.e. speedometer, motionmark, stylebench
175 ^testing/talos/talos/tests/webkit/PerformanceTests
177 # Ignore toolchains.json created by tooltool.
180 # Ignore files created when running a reftest.
186 # Ignore sync tps logs and reports
190 # Ignore Visual Studio Code workspace files.
191 \.vscode/(?!extensions\.json|tasks\.json)
193 # Ignore Infer output
196 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
199 # Ignore various raptor performance framework files
200 ^testing/raptor/.raptor-venv
201 ^testing/raptor/raptor-venv
202 ^testing/raptor/raptor/tests/json/
203 ^testing/raptor/webext/raptor/auto_gen_test_config.js
205 # Ignore browsertime output directory
208 # Ignore the build directories of WebGPU and WebRender standalone builds.
213 # Ignore this files in certviewer
214 toolkit/components/certviewer/content/node_modules/
215 toolkit/components/certviewer/content/package-lock.json