Closed Bug 1906186 Opened 7 months ago Closed 7 months ago

Document how to set more than one pref

Categories

(Testing :: General, task)

task

Tracking

(firefox129 fixed)

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: sfoster, Assigned: sfoster)

Details

Attachments

(1 file)

It wasn't obvious to me that to set more than one pref from the cmdline, it is necessary to pass --setpref for each pref, and that each value must be quoted.

E.g.

./mach mochitest --setpref="pref.one=true" --setpref="pref.two=true" path/to/test.js

Assignee: nobody → sfoster
Status: NEW → ASSIGNED
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/77230dc43df1 Document the how of setting more than one pref value when running mochitests. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: