Closed
Bug 898472
Opened 12 years ago
Closed 11 years ago
Browser Debugger window has no title
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 27
People
(Reporter: Gijs, Assigned: darkowlzz)
References
Details
(Whiteboard: [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js])
Attachments
(3 files, 2 obsolete files)
It would be nice if it said at least "Browser Debugger", possibly with the script name that's currently open.
Reporter | ||
Comment 1•12 years ago
|
||
I guess this is a bigger issue on Windows, actually. Oops. Saw this on my XP VM, so moving there! :-)
OS: Mac OS X → Windows XP
Updated•12 years ago
|
Whiteboard: [chrome-debug]
Updated•11 years ago
|
Priority: -- → P3
Whiteboard: [chrome-debug] → [chrome-debug] [good-first-bug]
Updated•11 years ago
|
Whiteboard: [chrome-debug] [good-first-bug] → [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js]
Assignee | ||
Comment 2•11 years ago
|
||
Hi,
I would like to know if this bug appears only on Windows XP?
A screenshot would be of great help.
I don't have access to Windows and on Linux, the title appears to be just `Browser Debugger`. Is this bug about appending Browser Debugger's title with the opened file name?
Thanks!
Assignee | ||
Comment 4•11 years ago
|
||
So this regressed in Firefox 24. Running mozregression gives:
Last good nightly: 2013-06-21
First bad nightly: 2013-06-22
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=7ba8c86f1a56&tochange=cea75ce9a559
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to mjh563 from comment #5)
> So this regressed in Firefox 24. Running mozregression gives:
>
> Last good nightly: 2013-06-21
> First bad nightly: 2013-06-22
>
> Pushlog:
> http://hg.mozilla.org/mozilla-central/
> pushloghtml?fromchange=7ba8c86f1a56&tochange=cea75ce9a559
http://hg.mozilla.org/mozilla-central/rev/9e0781b97e51#l11.62
http://hg.mozilla.org/mozilla-central/rev/9e0781b97e51#l32.32
Doesn't look like this document.title setting was put back anywhere else, and the strings disappeared. I'm guessing they'd need to be re-added, and so would the code that sets the right one.
Blocks: 823577
Comment 7•11 years ago
|
||
Yup. Just re-adding those strings should do the trick. However, I also like the idea suggested in comment 0.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → indiasuny000
Assignee | ||
Comment 8•11 years ago
|
||
Attachment #807211 -
Flags: feedback?(vporof)
Attachment #807211 -
Flags: feedback?(bbenvie)
Comment 9•11 years ago
|
||
Comment on attachment 807211 [details] [diff] [review]
Added missing Title strings and appended with script name.
Review of attachment 807211 [details] [diff] [review]:
-----------------------------------------------------------------
This looks great! Let me know if you need any help with adding a test. You can edit a pre-existing one to account for this change, e.g. browser_dbg_scripts-switching-01.js
Attachment #807211 -
Flags: feedback?(vporof) → feedback+
Comment 10•11 years ago
|
||
Comment on attachment 807211 [details] [diff] [review]
Added missing Title strings and appended with script name.
Review of attachment 807211 [details] [diff] [review]:
-----------------------------------------------------------------
Indeed, this looks excellent as is. Just needs a test. I'm also available if you need help writing one!
Attachment #807211 -
Flags: feedback?(bbenvie) → feedback+
Comment 12•11 years ago
|
||
Updated•11 years ago
|
Attachment #815167 -
Flags: review?(vporof)
Comment 13•11 years ago
|
||
Comment on attachment 815167 [details] [diff] [review]
Added missing Title strings and appended with script name.
Review of attachment 815167 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/devtools/debugger/test/browser_dbg_scripts-switching-01.js
@@ +19,5 @@
> gEditor = gDebugger.DebuggerView.editor;
> gSources = gDebugger.DebuggerView.Sources;
>
> + ok(gDebugger.document.title.endsWith(EXAMPLE_URL + gLabel1),
> + "Title with first source is incorrect.");
Small nit: the message should state the expected result ("Title with first source is correct.")
@@ +67,5 @@
> is(gEditor.getText().search(/debugger/), 172,
> "The second source is displayed.");
>
> + ok(gDebugger.document.title.endsWith(EXAMPLE_URL + gLabel2),
> + "Title with second source is incorrect.");
Same as above.
Assignee | ||
Comment 14•11 years ago
|
||
Attachment #815167 -
Attachment is obsolete: true
Attachment #815167 -
Flags: review?(vporof)
Attachment #815171 -
Flags: review?(vporof)
Comment 15•11 years ago
|
||
Comment on attachment 815171 [details] [diff] [review]
Added missing Title strings and appended with script name.
Review of attachment 815171 [details] [diff] [review]:
-----------------------------------------------------------------
Perfection.
Attachment #815171 -
Flags: review?(vporof) → review+
Updated•11 years ago
|
Whiteboard: [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js] → [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js][land-in-fx-team]
Comment 16•11 years ago
|
||
Whiteboard: [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js][land-in-fx-team] → [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js][fixed-in-fx-team]
Comment 17•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js][fixed-in-fx-team] → [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js]
Target Milestone: --- → Firefox 27
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•