Closed Bug 877199 Opened 11 years ago Closed 11 years ago

Browser console's window title temporarily says "Web Console" before changing to "Browser console".

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 24

People

(Reporter: KWierso, Assigned: msucan)

Details

Attachments

(1 file, 1 obsolete file)

Now that the error console is gone and the browser console has taken the Ctrl/Cmd-Shift-J keyboard shortcut, I'm noticing that after I press that shortcut, the browser console opens up in a separate window (as expected), but the window's title says "Web Console" for a second or two (or more, if my system's resources are being used elsewhere), before changing to "Browser Console".

I think it shouldn't do that, if at all possible.
(In reply to Wes Kocher (:KWierso) from comment #0)
> Now that the error console is gone and the browser console...
To be clear, I don't think the "now that" part has anything to do with it. I just wasn't using the browser console often enough previously to notice this.
Attached patch proposed fix (obsolete) — Splinter Review
HUDService waits too long before it changes the browser console window title. I changed the code to do things earlier. This fixes the problem on my system. Please also test on yours and confirm the fix works for you.

Try push: https://tbpl.mozilla.org/?tree=Try&rev=f036c227aa1c
Assignee: nobody → mihai.sucan
Status: NEW → ASSIGNED
Attachment #755474 - Flags: review?(rcampbell)
Comment on attachment 755474 [details] [diff] [review]
proposed fix

Review of attachment 755474 [details] [diff] [review]:
-----------------------------------------------------------------

alrighty. worth a shot.
Attachment #755474 - Flags: review?(rcampbell) → review+
I still see a flash of "Web Console" before it displays "Browser Console". It might be a shorter amount of time than the current Nightly, or it might be that I tried it with my non-default profile, so it has less stuff in there slowing it down.
Attached patch updated patchSplinter Review
Updated the patch to change the window title even earlier: in DOMContentLoaded, before any initialization happens.

I will land this patch as soon as I can.
Attachment #755474 - Attachment is obsolete: true
Landed in fx-team:
https://hg.mozilla.org/integration/fx-team/rev/1e40ab9ff736
Whiteboard: [fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/1e40ab9ff736
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: