Closed Bug 607069 Opened 14 years ago Closed 14 years ago

Turn off CSP warning command line output in opt builds

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b8

People

(Reporter: geekboy, Assigned: geekboy)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

CSP echos warnings and errors placed in the console to dump() as well.  We should turn off the spew in opt builds for sure, and maybe change it to PR_LOGGING output for debugging.
Attached patch fixSplinter Review
Removes the dump() calls from the CSPWarn CSPError and CSPdebug functions.  Information will still be placed in the error console.
Attachment #487032 - Flags: review?(jst)
Status: NEW → ASSIGNED
Comment on attachment 487032 [details] [diff] [review]
fix

r+a=jst, feel free to land once beta7 is out the door (or at least branched etc).
Attachment #487032 - Flags: review?(jst)
Attachment #487032 - Flags: review+
Attachment #487032 - Flags: approval2.0+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/cc7061bbe843
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: