Closed Bug 1247136 Opened 8 years ago Closed 5 years ago

Implement --setpref for xpcshell tests to change preferences

Categories

(Testing :: XPCShell Harness, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1460914

People

(Reporter: MattN, Assigned: gbrown)

References

(Blocks 1 open bug)

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

xpcshell-test --setpref was implemented in bug 1460914.

Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.