Closed
Bug 182099
Opened 23 years ago
Closed 22 years ago
lock up on stylesheets tab double-clicking the twisty
Categories
(Other Applications :: DOM Inspector, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.4beta
People
(Reporter: ian, Assigned: caillon)
References
()
Details
(Keywords: hang)
Attachments
(1 file)
|
1.01 KB,
patch
|
janv
:
review+
bzbarsky
:
superreview+
sspitzer
:
approval1.4b+
|
Details | Diff | Splinter Review |
Following the following steps causes Mozilla to lock up:
<Hixie> caillon: http://www.hixie.ch/tests/evil/mixed/cascade/acidlinkcascade.html
<Hixie> caillon: go to that, show the stylesheet list
<Hixie> caillon: then double click on the first twisty
<Hixie> caillon: i can't trigger the lockup with a data: uri @importing a data:
uri, so it's not a simple "twisties are broken" bug
Comment 1•23 years ago
|
||
Eww. Whatever it is, the bug is likely to be found via this file:
http://lxr.mozilla.org/seamonkey/source/extensions/inspector/resources/content/viewers/stylesheets/stylesheets.js
| Assignee | ||
Comment 2•22 years ago
|
||
So the problem was we were going around in an infinite loop in twisty code:
http://lxr.mozilla.org/mozilla/source/xpfe/global/resources/content/bindings/tree.xml#747
We never exited the while loop because in this case we have no parent, and are
expected to return -1, but were in fact returning 0 from our custom view's impl
of getParentIndex. This fixes that.
Updated•22 years ago
|
Attachment #121779 -
Flags: review+
| Assignee | ||
Updated•22 years ago
|
Attachment #121779 -
Flags: superreview?(bzbarsky)
| Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla1.4beta
Comment 3•22 years ago
|
||
Comment on attachment 121779 [details] [diff] [review]
One-liner
sr=me but please document this in nsITreeView.idl (why do we write "interfaces"
that are so poorly documented as to be useless again?)
Attachment #121779 -
Flags: superreview?(bzbarsky) → superreview+
| Assignee | ||
Comment 4•22 years ago
|
||
Comment on attachment 121779 [details] [diff] [review]
One-liner
Added the comment locally. Will check in with this change. Seeking 1.4b
approval for this small hang fix.
Attachment #121779 -
Flags: approval1.4b?
Comment 5•22 years ago
|
||
Comment on attachment 121779 [details] [diff] [review]
One-liner
a=sspitzer
Attachment #121779 -
Flags: approval1.4b? → approval1.4b+
| Assignee | ||
Comment 6•22 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Core → Other Applications
Updated•18 years ago
|
QA Contact: timeless → dom-inspector
You need to log in
before you can comment on or make changes to this bug.
Description
•