Bill McCloskey writes: > # Silence ++THIS and --THAT > export MOZ_QUIET=1 > > # Silence NS_WARNING > export MOZ_IGNORE_WARNINGS=1 > > then you won't get any more messages about DOM windows or > docshell creation/destruction or about NS_WARNINGs firing.
Thanks very much, Bill. I think I'll also find this useful. Can we all agree to only use NS_WARNING for things that are unlikely to happen? This includes NS_ENSURE_SUCCESS and friends. I thought there was almost consensus on avoiding NS_ENSURE_* because of the way jump statements are hidden, but I've still seen some advocating. Can we at least agree not to use NS_ENSURE_SUCCESS when failure is reasonably likely in normal use? _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform