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)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 19
People
(Reporter: vporof, Assigned: vporof)
References
Details
Attachments
(2 files)
|
2.51 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
|
5.21 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P3
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #679101 -
Flags: review?(past)
Comment 2•13 years ago
|
||
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+
| Assignee | ||
Comment 3•13 years ago
|
||
(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...
| Assignee | ||
Comment 4•13 years ago
|
||
Addressed comments.
| Assignee | ||
Comment 5•13 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 19
Updated•8 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•