Closed
Bug 889352
Opened 13 years ago
Closed 13 years ago
Remote debugging doesn't work if any tabs have no title
Categories
(SeaMonkey :: Tabbed Browser, defect)
SeaMonkey
Tabbed Browser
Tracking
(seamonkey2.19 wontfix, seamonkey2.20 fixed, seamonkey2.21 fixed, seamonkey2.22 fixed)
RESOLVED
FIXED
seamonkey2.22
People
(Reporter: neil, Assigned: neil)
References
()
Details
Attachments
(1 file)
|
2.93 KB,
patch
|
philip.chee
:
review+
iannbugzilla
:
approval-comm-aurora+
iannbugzilla
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
If a tab has no title then the debugger server falls back on asking the tabbrowser for the tab's title. However to do this it tries to call the _getTabForContentWindow function. If this does not exist then the debugging session fails. (I don't know whether the browser remains stable.)
Steps to reproduce problem:
1. Enable devtools.debugger.remote-enabled in about:config
2. Install the debugger server enabler
3. Attempt to connect Firefox
Expected result: List of tabs is displayed
Actual result: Connection hangs
| Assignee | ||
Comment 1•13 years ago
|
||
While I was there I converted two handlers to use the method (which is a neatness improvement on the existing code).
Comment 2•13 years ago
|
||
Comment on attachment 770166 [details] [diff] [review]
Proposed patch
> const browsers = this.browsers;
> if (browsers.length == 1)
> return;
There is only one use of browsers so you might want to inline it e.g.
if (this.browsers.length == 1)
Attachment #770166 -
Flags: review?(philip.chee) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.22
| Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 770166 [details] [diff] [review]
Proposed patch
[Approval Request Comment]
Regression caused by (bug #): 802081
User impact if declined: Can't debug when tabs have empty titles
Risk to taking this patch (and alternatives if risky): Low
String changes made by this patch: None
Attachment #770166 -
Flags: approval-comm-beta?
Attachment #770166 -
Flags: approval-comm-aurora?
| Assignee | ||
Updated•13 years ago
|
status-seamonkey2.19:
--- → wontfix
status-seamonkey2.20:
--- → affected
status-seamonkey2.21:
--- → affected
status-seamonkey2.22:
--- → fixed
Attachment #770166 -
Flags: approval-comm-beta?
Attachment #770166 -
Flags: approval-comm-beta+
Attachment #770166 -
Flags: approval-comm-aurora?
Attachment #770166 -
Flags: approval-comm-aurora+
| Assignee | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Comment on attachment 770166 [details] [diff] [review]
Proposed patch
Review of attachment 770166 [details] [diff] [review]:
-----------------------------------------------------------------
a-CLOSED_TREE=me
| Assignee | ||
Comment 7•13 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•