Closed Bug 166308 Opened 23 years ago Closed 23 years ago

remove some XUL debugging printf's

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.2alpha

People

(Reporter: alecf, Assigned: alecf)

Details

(Whiteboard: fix in hand)

Attachments

(1 file, 1 obsolete file)

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
Here's the patch. who wants to review? it's really easy.
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?
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
can I get a r=bryner, sr=jag?
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.2alpha
Whiteboard: fix in hand
Comment on attachment 98188 [details] [diff] [review] remove debugging code with DEBUG_LAYOUT r=bryner
Attachment #98188 - Flags: review+
Comment on attachment 98188 [details] [diff] [review] remove debugging code with DEBUG_LAYOUT sr=jag
Attachment #98188 - Flags: superreview+
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+
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.

Attachment

General

Creator:
Created:
Updated:
Size: