Closed
Bug 576224
Opened 15 years ago
Closed 12 years ago
HUDService: "Context" means various things
Categories
(DevTools :: Console, defect, P4)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Mook, Unassigned)
References
()
Details
(Whiteboard: [cleanup] [post-fx4] [console-2])
In various points in HUDService.jsm, the word "context" means different things. Referring to revision a119d5f462f2:
For HUDService.currentContext / mixins.getCurrentContext(): it is a toplevel DOM window (i.e. browser.xul)
For HUDService.(de)activateHUDForContext: it is a <tab>
For HUDService.initializeJSTerm and other JSTerm things: it appears to be the content window?
There is of course also a LoadContext (for requests), but at least that has "load" in its name to distinguish things... mostly.
It would be very nice if all those things can be called by different names (actually, it looks like the toplevel DOM window one can die; I'm in the middle of writing a patch dealing with the file, but it's nowhere near the stage where looking at it makes sense yet...)
Comment 1•15 years ago
|
||
(In reply to comment #0)
> In various points in HUDService.jsm, the word "context" means different things.
Yes, I realize this is confusing. I was attempting to use language that is not so firefox-specific, and in doing so I am using a very loaded term. Those methods and args should be renamed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•15 years ago
|
||
There has been a lot of change in the Web Console code since this bug was opened. After the new console service lands, we should evaluate whether this is still an issue.
Updated•14 years ago
|
Whiteboard: [cleanup] [post-fx4] [console-2]
Comment 4•12 years ago
|
||
is this still an issue? Marking this closed after the massive refactoring. Reopen if needed.
Status: NEW → RESOLVED
Closed: 12 years ago
Component: Developer Tools → Developer Tools: Console
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•