Closed
Bug 704820
Opened 13 years ago
Closed 13 years ago
Simplify nsContentUtils::ReportToConsole
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: emk, Assigned: emk)
References
Details
Attachments
(1 file, 2 obsolete files)
56.49 KB,
patch
|
emk
:
review+
|
Details | Diff | Splinter Review |
Most callers do not set params, paramsLength, URI, source, lineNumber. columnNumber is not used at all! Most callers do not set non-zero windowID. So I propose the follwing changes: - Move flags, category and doc params onto other rarer used params and make the rest params optional. - Remove the windowID version method.
Assignee | ||
Comment 1•13 years ago
|
||
Comment 3•13 years ago
|
||
Looks like the only caller that passes a raw window ID is the nsIDOMWindowInternal one, so it's probably fine to remove that variant.
Assignee | ||
Comment 4•13 years ago
|
||
Updated to tip
Attachment #576481 -
Attachment is obsolete: true
Attachment #576481 -
Flags: review?(bugs)
Attachment #577582 -
Flags: review?(bugs)
Updated•13 years ago
|
Attachment #577582 -
Flags: review?(bugs) → review+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 5•13 years ago
|
||
Please mark this for check-in once the dependencies are cleared.
Keywords: checkin-needed
Assignee | ||
Comment 6•13 years ago
|
||
Updated to tip
Attachment #577582 -
Attachment is obsolete: true
Attachment #580453 -
Flags: review+
Comment 8•13 years ago
|
||
In my queue with a few other checkin-neededs that are being sent to try first and then onto inbound :-) https://tbpl.mozilla.org/?tree=Try&rev=fd440327d5e4
Keywords: checkin-needed
Comment 9•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e8659eb419fb
Target Milestone: --- → mozilla11
Comment 10•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e8659eb419fb
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•