Closed
Bug 360761
Opened 18 years ago
Closed 17 years ago
Moving <arrowscrollbox><radiogroup><listcell/> breaks setTimeout ("too much recursion" in scrollbox.xml?)
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
application/vnd.mozilla.xul+xml
|
Details |
Steps to reproduce:
1. Load the testcase.
Result:
red border
Expected:
green border
In a nightly build, this bug always occurs, but there is no error message in the Error Console.
In a debug build, this bug only occurs 30% of the time. When it does, I see this in the console:
JavaScript error: chrome://global/content/bindings/scrollbox.xml, line 188: too much recursion
Reporter | ||
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
The underflow/overflow handlers in scrollbox.xml are collapsing/uncollapsing some elements, which cause the scrollbox to reverse the overflow and underflow state again, thus firing the other event again. This process repeats indefinitely.
Reporter | ||
Comment 3•18 years ago
|
||
This doesn't cause "too much recursion" any more, but it does use 30% CPU. I guess the overflow/underflow events are asynchronous now?
Reporter | ||
Comment 4•17 years ago
|
||
WFM on trunk.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•