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

Summary

Macro

Shows a warning on the console (stderr) and in debug logs (NSPR logging). Contrary to NS_ERROR this is meant for noncritical errors.

Syntax

NS_WARNING("warning text");

Document Tags and Contributors

 Contributors to this page: teoli, Editmonkey, cbiesinger
 Last updated by: Editmonkey,