Closed Bug 898472 Opened 12 years ago Closed 11 years ago

Browser Debugger window has no title

Categories

(DevTools :: Debugger, defect, P3)

x86
Windows XP
defect

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.
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
Whiteboard: [chrome-debug]
Priority: -- → P3
Whiteboard: [chrome-debug] → [chrome-debug] [good-first-bug]
Whiteboard: [chrome-debug] [good-first-bug] → [chrome-debug] [good-first-bug] [mentor=bbenvie@mozilla.com] [lang=js]
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!
I can reproduce this on Linux too. See attached screenshot.
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
(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
Yup. Just re-adding those strings should do the trick. However, I also like the idea suggested in comment 0.
Assignee: nobody → indiasuny000
Attachment #807211 - Flags: feedback?(vporof)
Attachment #807211 - Flags: feedback?(bbenvie)
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 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+
With test!
Attachment #807211 - Attachment is obsolete: true
Attachment #815167 - Flags: review?(vporof)
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.
Attachment #815167 - Attachment is obsolete: true
Attachment #815167 - Flags: review?(vporof)
Attachment #815171 - Flags: review?(vporof)
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+
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]
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]
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
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: