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? [1] https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/NS_ASSERTION _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform