Closed Bug 1628994 Opened 4 years ago Closed 4 years ago

Blank area in Browser Console when devtools.chrome.enabled = false

Categories

(DevTools :: Console, enhancement)

enhancement
Not set
normal

Tracking

(firefox77 fixed)

RESOLVED FIXED
Firefox 77
Tracking Status
firefox77 --- fixed

People

(Reporter: jdescottes, Assigned: nchevobbe)

Details

Attachments

(2 files)

Attached image image.png

Just a minor visual nit:

STRs:

  • set devtools.chrome.enabled to false
  • open the Browser Console
  • you will see a blank area instead of the input (more noticeable with the multi-line editor sidepanel)

I doubt this impacts many users, I suppose most BrowserConsole users have the pref enabled?

erf, and the toolbar shouldn't be visible as well

I think there might be multiple things that should not be visible when the pref isn't on:

  • the editor toolbar
  • the editor input
  • the instant evaluation element in in-line mode

When the pref is not set to true, we should not display the input,
but also the editor toolbar, the instant evaluation result and
the editor resizer.
The existing test is modified to ensure we cover all these elements.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c00da8e9e19a
Don't render input related elements in browser console when devtools.chrome.enabled is not true. r=jlast.
Backout by shindli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6a6c81f67760
Backed out changeset c00da8e9e19a for causing perma dt failures in devtools/client/webconsole/test/browser/browser_console_eager_eval.js CLOSED TREE
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3441d1bec516
Don't render input related elements in browser console when devtools.chrome.enabled is not true. r=jlast.

I fixed the failures (the devtools ones, the accessibility test failure looked unrelated?)

Flags: needinfo?(nchevobbe)
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: