Closed Bug 1879661 Opened 2 years ago Closed 2 years ago

Create a fuzz-flags.txt equivalent for JS Prefs?

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: mgaudet, Unassigned)

References

Details

(Or should we integrate the prefs into fuzz-flags.txt)?

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.

(In reply to Jan de Mooij [:jandem] from comment #1)

The simplest option is adding --setpref=foo=bar to fuzz-flags.txt

Hah. That is extremely true and for some reason didn't occur to me.

Honestly, let's resolve this as invalid because Jan points out correctly we can do this already.

Severity: -- → N/A
Status: NEW → RESOLVED
Closed: 2 years ago
Priority: -- → P3
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.