On Friday, December 19, 2014 at 12:19:11 PM UTC-8, Jason Orendorff wrote:
> So if you go to about:config and set the javascript.options.strict pref,
> you'll get warnings about accessing undefined properties.
> 
>     js> Math.TAU
>     undefined
>     /!\ ReferenceError: reference to undefined property Math.TAU
> 
> (It says "ReferenceError", but your code still runs normally; it really is
> just a warning.)
> 
> Is anyone using this? Bug 1113380 points out that the rules about what kind
> of code can cause a warning are a little weird (on purpose, I think). Maybe
> it's time to retire this feature.
> 
>     https://bugzilla.mozilla.org/show_bug.cgi?id=1113380
> 
> Please speak up now, if you're still using it!
> 
> -j

Just a heads up that the default value for javascript.options.strict.debug is 
now false, as of Bug 1138781.

Brian
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to