Open Bug 1247136 Opened 4 years ago Updated 2 years ago

Implement --setpref for xpcshell tests to change preferences

Categories

(Testing :: XPCShell Harness, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: MattN, Unassigned)

References

(Blocks 2 open bugs)

Details

A few suites (e.g. mochitest, reftest, etc.) support `--setpref foo.bar=baz` to change a preference value in the temporary test profile.

This is very useful for toggling debugging/logging prefs during test development. Currently one is require to modify files in the source directory to change preference values for debugging which is tedious and error prone (e.g. the debugging changes may accidentally get checked-in).
This is also needed for bug 1347696.
Blocks: 1347696
You need to log in before you can comment on or make changes to this bug.