On 6/30/2014 9:53 AM, Masayuki Nakano wrote:
On 2014/06/30 22:51, Masayuki Nakano wrote:
Hi, I wrote a draft of the guideline in MDN roughly.
I hope a lot of developers discuss the rules and improve this draft!
Oops, the draft is here. Sorry for the spam.
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Preferences
Thanks for starting this. I've made some significant modifications:
* Added a list of situations where prefs should or shouldn't be used
* Removed the list of toplevel pref "roots". I don't think this list is
valuable, and I don't think that adding new roots is necessarily bad.
* I don't believe there's a good case for preferences that are read but
don't appear in the default pref files. I have changed the
recommendation to always add a default value
* Clarified where default prefs belong: prefs that are read by gecko
belong in all.js, but Firefox-specific prefs belong in firefox.js
--BDS
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform