Closed Bug 382747 Opened 18 years ago Closed 17 years ago

Reloading XUL page with <tree> causes "ASSERTION: row count changed unexpectedly"

Categories

(Core :: XUL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: janv)

Details

(Keywords: assertion, testcase)

Attachments

(1 file)

298 bytes, application/vnd.mozilla.xul+xml
Details
Attached file testcase
Reloading the testcase triggers: ###!!! ASSERTION: row count changed unexpectedly: 'mRowCount == rowCount', file /Users/jruderman/trunk/mozilla/layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp, line 2722 ###!!! ASSERTION: no content: 'aContent != nsnull', file /Users/jruderman/trunk/mozilla/layout/base/nsChildIterator.cpp, line 57
Sorry, I can't reproduce this bug.
Now, when I reload, I get: ###!!! ASSERTION: bad index: 'aIndex >= 0 && aIndex < mRows.Count()', file /Users/jruderman/trunk/mozilla/layout/xul/base/src/tree/src/nsTreeContentView.cpp, line 320 ###!!! ASSERTION: no content: 'aContent != nsnull', file /Users/jruderman/trunk/mozilla/layout/base/nsChildIterator.cpp, line 57 The "bad index" assertion also shows up in bug 383709.
WFM, Mac trunk debug. No assertions now.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: