MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

Summary

Macro

Has the same effect as NS_ASSERTION. Should be used to test conditions that the caller of a method ought to ensure.

Syntax

NS_PRECONDITION(expressionToTest, "error text");

See also

Document Tags and Contributors

 Contributors to this page: teoli, Nickolay
 Last updated by: Nickolay,