Closed
Bug 1221770
Opened 9 years ago
Closed 9 years ago
Can't differentiate Browser Console with the Console panel
Categories
(DevTools :: Console, defect)
Tracking
(firefox45 affected)
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox45 | --- | affected |
People
(Reporter: fayolle-florent, Unassigned)
Details
In order to fix bug 433 from the Firebug.next issue list (https://github.com/firebug/firebug.next/issues/433 ), we would need some class (or ID, or so...) to differentiate the Browser Console from the regular Console panel in the DevTools.
We typically need it to hide the filter box (since there is already the Firebug search box) except when the user is in the Browser Console.
Florent
Comment 1•9 years ago
|
||
I am not sure if the platform should do anything specific to fix that issue (I don't know about any other case that would require it).
Just for the record, the platform should rather support shared filter box for all panels (I think there is a bug report for this, but I can't find it).
In any case, Firebug.next can create an extra attribute that can be used to differentiate Web Console and Browser Console itself.
Consider the following code in ConsoleOverlay.onReady:
// Get panel frame content document
var panelDoc = this.getPanelDocument();
// Get reference to the original filter box
var filter = panelDoc.querySelector(".hud-filter-box.devtools-searchinput");
// Create an extra attribute (and use the attribute in appropriate CSS rule)
filter.setAttribute("panel", "true");
Honza
Reporter | ||
Comment 2•9 years ago
|
||
We finally have used some tricks so we don't need a patch from the platform. Thus I close the issue.
Florent
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•