Closed Bug 809392 Opened 13 years ago Closed 13 years ago

The remote and chrome debugger windows don't have a title

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 19

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(2 files)

No description provided.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P3
Depends on: 808691
Attached patch v1 — — Splinter Review
Attachment #679101 - Flags: review?(past)
Comment on attachment 679101 [details] [diff] [review] v1 Review of attachment 679101 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/devtools/debugger/debugger-view.js @@ +33,5 @@ > if (window._isRemoteDebugger || window._isChromeDebugger) { > window.moveTo(Prefs.windowX, Prefs.windowY); > window.resizeTo(Prefs.windowWidth, Prefs.windowHeight); > } > + if (window._isRemoteDebugger) { Tiny perf win: move the conditionals inside the previous one and use 'else' for the second branch. @@ +37,5 @@ > + if (window._isRemoteDebugger) { > + document.documentElement.setAttribute("title", L10N.getStr("remoteDebuggerWindowTitle")); > + } > + if (window._isChromeDebugger) { > + document.documentElement.setAttribute("title", L10N.getStr("chromeDebuggerWindowTitle")); Doesn't document.title work in this case?
Attachment #679101 - Flags: review?(past) → review+
(In reply to Panos Astithas [:past] from comment #2) > Comment on attachment 679101 [details] [diff] [review] > v1 > > Review of attachment 679101 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: browser/devtools/debugger/debugger-view.js > @@ +33,5 @@ > > if (window._isRemoteDebugger || window._isChromeDebugger) { > > window.moveTo(Prefs.windowX, Prefs.windowY); > > window.resizeTo(Prefs.windowWidth, Prefs.windowHeight); > > } > > + if (window._isRemoteDebugger) { > > Tiny perf win: move the conditionals inside the previous one and use 'else' > for the second branch. Ok. > > @@ +37,5 @@ > > + if (window._isRemoteDebugger) { > > + document.documentElement.setAttribute("title", L10N.getStr("remoteDebuggerWindowTitle")); > > + } > > + if (window._isChromeDebugger) { > > + document.documentElement.setAttribute("title", L10N.getStr("chromeDebuggerWindowTitle")); > > Doesn't document.title work in this case? Gosh, I'm overcomplicating things...
Attached patch v2 — — Splinter Review
Addressed comments.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 19
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: