Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
joe%retrovirus.com 6dd107ecd3 Fixed a scope-o in the NS_ASSERT() function.
bug=327349
r=gavin.sharp@gmail.com
2006-03-14 02:30:00 +00:00
joe%retrovirus.com bd7b62fd23 Moved Ben's JavaScript ASSERT function to be NS_ASSERT in
toolkit/content/debug.js

debug.js is now included by globalOverlay.js, but if that's not in your
scope you can just #include debug.js directly.

NS_ASSERT() shows a dialog box containing a stack trace when it's called
with a condition that isn't true.  The dialog box will be suppressed in
final builds, but in nightlies and alphas, it's useful for encouraging
bug submissions.  To disable the dialogs, set XUL_ASSERT_PROMPT=0 in
your environment.

bug=327349
r=darin@meer.net, gavin.sharp@gmail.com
2006-03-14 01:56:09 +00:00