author Michael Ratcliffe <>
Thu, 28 Feb 2019 12:02:44 +0000
changeset 461723 3fa94e4ff5dbf92d13b28d4e3e0178f6ec0c8a6b
child 473587 b7145dad7ce17f1f8f72c8974b7472ffd1c84e17
permissions -rw-r--r--
Bug 1531283: Add MOZ_QUIET description to explain how to disable ++DOMWINDOW and ++DOCSHELL logging r=sole Differential Revision:

# Automated tests: Tips

If you run tests in debug mode, e.g. when debugging memory leaks, the test logs are often dominated by `++DOMWINDOW`, `++DOCSHELL`, `--DOMWINDOW`, `--DOCSHELL` lines.

These lines pollute the test logs making it difficult to find real problems. They also slow down our tests because they are not useful for debugging DevTools issues.

You can add this to your `.zshrc` or `.bashrc` to disable them:

# Disable those annoying +++DOMWINDOW and +++DOCSHELL printfs from Firefox logs
export MOZ_QUIET=1

You can also send `MOZ_QUIET` when you push to try&hellip; it makes the logs easier to read and makes the tests run faster because there is so much less logging.

Example try syntax containing `MOZ_QUIET`:

./mach try -b do -p linux,linux64,macosx64,win32,win64 \
  -u xpcshell,mochitest-bc,mochitest-e10s-bc,mochitest-dt,mochitest-chrome \
  -t damp-e10s --setenv MOZ_QUIET=1