Create a fuzz-flags.txt equivalent for JS Prefs?
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
People
(Reporter: mgaudet, Unassigned)
References
Details
(Or should we integrate the prefs into fuzz-flags.txt)?
Comment 1•2 years ago
|
||
The simplest option is adding --setpref=foo=bar to fuzz-flags.txt
Another option would be to let the StaticPrefList.yaml file specify a list of interesting values for fuzzing. We could then add a shell flag to print all of those flags + values (the equivalent of today's fuzz-flags.txt, a bit like --list-prefs).
- name: javascript.options.foo
# ...
fuzzing_values: [False, True]
fuzzing_values: [0, 1, 2, 100, 1000]
The advantage would be to have everything in one place. I'm not sure how the Preferences module peers would feel about this though.
| Reporter | ||
Comment 2•2 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #1)
The simplest option is adding
--setpref=foo=barto fuzz-flags.txt
Hah. That is extremely true and for some reason didn't occur to me.
| Reporter | ||
Comment 3•2 years ago
|
||
Honestly, let's resolve this as invalid because Jan points out correctly we can do this already.
Description
•