Closed Bug 384740 Opened 18 years ago Closed 17 years ago

ASSERTION: element not in tree: 'IsInDoc()'

Categories

(Core :: XUL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: enndeakin)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
###!!! ASSERTION: element not in tree: 'IsInDoc()', file /Users/jruderman/trunk/mozilla/content/xul/content/src/nsXULElement.cpp, line 1558
The assertion triggers when the testcase is closed or reloaded.
The fix here is to just clear the lazy state when removing the element. If that turns out to be a performance issue, another possible fix is to just removing the assertion and return NS_OK.
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
Blocks: 404798
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
WFM. enn, is your patch still desirable?
The assertion is going away in bug 450990, as well as the flag the patch changes. I'll investigate to see whether any other changes are needed for this.
Yes, whether the assertion occurs on not, the fix for bug 450990 made this bug obsolete as well.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: