6 Commits

Author SHA1 Message Date
martijn.martijn%gmail.com
f26c18680d Bug 343165 - Make debug.js appear everywhere, patch by Dave Townsend (Mossop), r=mconnor
git-svn-id: svn://10.0.0.236/trunk@203091 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 12:06:54 +00:00
gavin%gavinsharp.com
3ce4234ace Remove XXX comment and change from bug 330853, because it was unnecessary, r=ben
git-svn-id: svn://10.0.0.236/trunk@195694 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 22:55:03 +00:00
gavin%gavinsharp.com
19b442a672 Bug 335319: pre-process out debug.js' license header, r=jhughes, sr=ben
git-svn-id: svn://10.0.0.236/trunk@195693 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 22:29:06 +00:00
beng%bengoodger.com
0feec336a5 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.
git-svn-id: svn://10.0.0.236/trunk@192561 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 21:38:21 +00:00
joe%retrovirus.com
cef8b7cebd Fixed a scope-o in the NS_ASSERT() function.
bug=327349
r=gavin.sharp@gmail.com


git-svn-id: svn://10.0.0.236/trunk@192293 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 02:30:00 +00:00
joe%retrovirus.com
8afe1d3f15 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


git-svn-id: svn://10.0.0.236/trunk@192291 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 01:57:26 +00:00