On Tue., Jun. 11, 2019, 04:01 Jean-Yves Avenard, <jyaven...@mozilla.com>
wrote:

>
> 1- If you define a StaticPref in StaticPrefList.h there is absolutely
> no-need to also defines the value in all.js. In fact this is strongly
> discouraged and there should almost never be a need for it. There will
> be no end-user visible difference if your pref is only defined in
> StaticPrefList.h : the pref value will still appear in about:config.
>

IIRC another difference between prefs in all.js and gfxPrefs was that if a
pref was not listed in all.js, you couldn't use it in the
{test-,ref-,}pref(...) annotations in reftest.list files. Can you confirm
that listing the pref in StaticPrefs but not all.js is not subject to this
restriction?

And thank you for making these changes!

Cheers,
kats
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to