The NS_ASSERTION document [1] says "Don't use NS_ASSERTION", which could be a 
bit confusing that now some of the similar named macros may be deprecated but 
some are new and encouraged.

Could we possibly have a section in the coding guideline explaining all these 
NS_ASSERTION / MOZ_ASSERT / NS_ENSURE_* / NS_WARN_IF and other related macros, 
and point (or add a link on) these macros' MDN reference pages to the guideline 
so new contributors can have an overview of when to / not-to use these macros?

dev-platform mailing list

Reply via email to