On Tuesday, March 21, 2017 at 7:46:07 PM UTC-7, Boris Zbarsky wrote:
> Are you properly handling the fact that AddStrongObserver watches all 
> prefs starting with the prefix you pass it?  ;)

I don't, and I'd love not to. I know perfectly well this two strings I want to 
watch only them.

I don't think there's a high risk of someone adding a new string to 
"general.useragent.locale", but if I could narrow it down to just this string 
instead of treating it as a prefix, I'd like to.

zb.
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to