diff --git a/testing/docs/mochitest-plain/faq.md b/testing/docs/mochitest-plain/faq.md index d67f113b63ad..0f9eff9f4dff 100644 --- a/testing/docs/mochitest-plain/faq.md +++ b/testing/docs/mochitest-plain/faq.md @@ -69,6 +69,12 @@ Equally, if you need to change a string pref: ./mach mochitest --setpref="webgl.osmesa=string with whitespace" somePath/someTestFile.html ``` +To change more than one pref, you can add a `--setpref` argument for each: + +``` +./mach mochitest --setpref="some.boolpref=true" --setpref="some.stringpref=string with whitespace" somePath/someTestFile.html +``` + ## Can tests be run under a chrome URL? Yes, use [mochitest-chrome](../chrome-tests/index.rst).