Closed Bug 620958 Opened 10 years ago Closed 9 years ago

Refactor HS_logConsoleAPIMessage as a method on HeadsUpDisplay prototype

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 15

People

(Reporter: ddahl, Assigned: msucan)

References

Details

(Whiteboard: [followup] [post-fx4][console-1] [fixed by bug 673148])

Gavin said in https://bugzilla.mozilla.org/show_bug.cgi?id=609890#c16

> >+  displayCachedConsoleMessages: function HUD_displayCachedConsoleMessages()
> 
> >+      HUDService.logConsoleAPIMessage(this.hudId,
> 
> I suppose ideally logConsoleAPIMessage would be a method of the HUD object
> rather than the service, and then displayCachedConsoleMessages could be called
> from the constructor for HeadsUpDisplay objects rather than manually after
> registerHUDReference. That probably requires some refactoring though, so no
> need to block on that.
Whiteboard: [followup]
Whiteboard: [followup] → [followup] [post-fx4]
Whiteboard: [followup] [post-fx4] → [followup] [post-fx4][console-1]
For reference: this request also came up in bug 611032 comment 66. Also see bug 592523.
Component: Developer Tools → Developer Tools: Console
QA Contact: developer.tools → developer.tools.console
Assignee: nobody → mihai.sucan
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [followup] [post-fx4][console-1] → [followup] [post-fx4][console-1] [fixed by bug 673148]
Target Milestone: --- → Firefox 15
Depends on: async-webconsole
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.