Closed Bug 328944 Opened 14 years ago Closed 11 years ago
ASSERTION: out of bounds (ns
Child Iterator .h#133)
###!!! ASSERTION: out of bounds: 'PRInt32(aIndex) >= 0 && aIndex <= length', file /Users/admin/trunk/mozilla/layout/base/nsChildIterator.h, line 133
Flags: blocking1.9a1? → blocking1.9-
Still happens on trunk.
As well as having more children than insertion points, which is what Jesse's testcase demonstrates, there seems to be another way to trigger this bug, and that is by causing a restyle on an element associated with an insertion point in an XBL binding. SeaMonkey's prefwindow is hitting this, and in this case a tree is being restyled for whatever reason (probably a startup scrollbar restyle that was deferred). Now the tree is the third child of the prefwindow element, but it is the only child associated with the insertion point in question, so the child index of three as passed in is bogus.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
WFM on mozilla-central. FWIW, bug 307394 changed the variable name involved in this assertion.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.