Closed
Bug 583464
Opened 14 years ago
Closed 14 years ago
HeadsUpDisplay.clearConsoleOutput() fails
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: msucan, Assigned: msucan)
References
Details
(Whiteboard: [kd4b4])
Attachments
(1 file, 1 obsolete file)
1.79 KB,
patch
|
sdwilsh
:
review+
ddahl
:
feedback+
sdwilsh
:
approval2.0+
|
Details | Diff | Splinter Review |
Currently the WebConsole has three ways for clearing the output: HUDService.clearDisplay(id) JSTerm.clearOutput() HeadsUpDisplay.clearConsoleOutput() - this is never used and it fails. I bumped into this issue when writing a test code. I had the HeadsUpDisplay object and I wanted to call clearConsoleOutput(), but that failed. Then I saw the rest of the available methods that do the same thing. We should probably fix the clearConsoleOutput() method or remove it.
Assignee | ||
Comment 1•14 years ago
|
||
Proposed fix and test code. This patch should apply cleanly on mozilla-central. The fix is only limited to the HeadsUpDisplay.clearConsoleOutput() method.
Updated•14 years ago
|
Whiteboard: [kd4b4]
Comment 2•14 years ago
|
||
perhaps we only need 2 methods, the jsterm and the working hudservice one?
Assignee | ||
Comment 3•14 years ago
|
||
Sure, we can go for that. Shall I post a patch that removes the HeadsUpDisplay.clearConsoleOutput() method? (marking the current patch as obsolete, obviously)
Comment 4•14 years ago
|
||
(In reply to comment #3) > Sure, we can go for that. Shall I post a patch that removes the > HeadsUpDisplay.clearConsoleOutput() method? (marking the current patch as > obsolete, obviously) Yeah, less code is good. Make sure no other callers exist.
Assignee | ||
Comment 5•14 years ago
|
||
Updated patch - removed the method. It is unused, so no other changes are needed.
Attachment #461778 -
Attachment is obsolete: true
Attachment #462123 -
Flags: feedback?(ddahl)
Attachment #461778 -
Flags: feedback?(ddahl)
Updated•14 years ago
|
Attachment #462123 -
Flags: feedback?(ddahl) → feedback+
Comment 6•14 years ago
|
||
We can put this up for review, since it's just a trivial removal of code.
Assignee | ||
Updated•14 years ago
|
Attachment #462123 -
Flags: review?(sdwilsh)
Comment 7•14 years ago
|
||
Comment on attachment 462123 [details] [diff] [review] [checked-in] patch for removing the method r=sdwilsh
Attachment #462123 -
Flags: review?(sdwilsh) → review+
Comment 8•14 years ago
|
||
Comment on attachment 462123 [details] [diff] [review] [checked-in] patch for removing the method While I'm here, a=sdwilsh with a simple, only code removal, change.
Attachment #462123 -
Flags: approval2.0+
Updated•14 years ago
|
Keywords: checkin-needed
Comment 9•14 years ago
|
||
Comment on attachment 462123 [details] [diff] [review] [checked-in] patch for removing the method http://hg.mozilla.org/mozilla-central/rev/111eb6a4ad98
Attachment #462123 -
Attachment description: patch for removing the method → [checked-in] patch for removing the method
Updated•14 years ago
|
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•