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

7 Коммитов

Автор SHA1 Сообщение Дата
gavin@gavinsharp.com 6037b10a05 Bug 355195: only enable debug.js assertions in non-release builds (based on the app update channel pref), r=mconnor 2007-07-23 19:48:54 -07:00
martijn.martijn%gmail.com cc3ffb45fc Bug 343165 - Make debug.js appear everywhere, patch by Dave Townsend (Mossop), r=mconnor 2006-07-19 12:06:54 +00:00
gavin%gavinsharp.com 29e602c49f Remove XXX comment and change from bug 330853, because it was unnecessary, r=ben 2006-04-28 22:55:03 +00:00
gavin%gavinsharp.com 1c8b1396dc Bug 335319: pre-process out debug.js' license header, r=jhughes, sr=ben 2006-04-28 22:29:06 +00:00
beng%bengoodger.com df7afcdb07 330853 - build does not start for some users... paper over multiple includes of debug.js by using a var instead of a const for now. r=brettw .. this probably wants to be fixed a different way, but trying to un-break people. 2006-03-17 21:38:21 +00:00
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