Closed
Bug 166308
Opened 23 years ago
Closed 23 years ago
remove some XUL debugging printf's
Categories
(Core :: Layout, defect, P2)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla1.2alpha
People
(Reporter: alecf, Assigned: alecf)
Details
(Whiteboard: fix in hand)
Attachments
(1 file, 1 obsolete file)
11.22 KB,
patch
|
bryner
:
review+
jag+mozilla
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
so I found about 4k of code (compiled) which prints out debugging information
for XUL even on release builds. I was able to remove it all quite easily with a
bunch of #ifdef NS_DEBUG.. patch forthcoming
Assignee | ||
Comment 1•23 years ago
|
||
Here's the patch. who wants to review? it's really easy.
Comment 2•23 years ago
|
||
Comment on attachment 97571 [details] [diff] [review]
remove debugging code with NS_DEBUG
The main call site for DumpBox is #ifdef DEBUG_LAYOUT, should we use the same
#ifdef here?
Assignee | ||
Comment 3•23 years ago
|
||
an excellent point. new patch attached using DEBUG_LAYOUT instead. I also moved
the commented out "//#define DEBUG_LAYOUT" out of nsBox.cpp and into nsIBox.h,
since thats the central place where this is all kicked off
Attachment #97571 -
Attachment is obsolete: true
Assignee | ||
Comment 4•23 years ago
|
||
can I get a r=bryner, sr=jag?
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.2alpha
Assignee | ||
Updated•23 years ago
|
Whiteboard: fix in hand
Comment 5•23 years ago
|
||
Comment on attachment 98188 [details] [diff] [review]
remove debugging code with DEBUG_LAYOUT
r=bryner
Attachment #98188 -
Flags: review+
Comment 6•23 years ago
|
||
Comment on attachment 98188 [details] [diff] [review]
remove debugging code with DEBUG_LAYOUT
sr=jag
Attachment #98188 -
Flags: superreview+
Comment 7•23 years ago
|
||
Comment on attachment 98188 [details] [diff] [review]
remove debugging code with DEBUG_LAYOUT
a=asa (on behalf of drivers) for checkin to 1.2a
Attachment #98188 -
Flags: approval+
Assignee | ||
Comment 8•23 years ago
|
||
fix is in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•