On Tue, Jan 7, 2014 at 5:04 PM, Kyle Huey <m...@kylehuey.com> wrote:

> Since we seem to be voting now, I am moderately opposed to making XPCOM
> method calls more boilerplate-y, and very opposed to removing
> NS_ENSURE_SUCCESS without some sort of easy shorthand to test an nsresult
> and print to the console if it is a failure.  I know for sure that some of
> the other DOM peers (smaug and bz come to mind) feel similarly about the
> latter.
>

I strongly second this. The harder you make it to check (and warn) for
exception conditions, the less people are going to end up doing it. And
losing the ability to trace the origin of an erroneous condition by
scanning the console log is a huge problem.

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

Reply via email to