Open Bug 718282 Opened 13 years ago Updated 4 years ago

"ASSERTION: Please remove this from the document properly" or leak nsDocument+

Categories

(Core :: DOM: Editor, defect, P5)

x86_64
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, memory-leak, testcase)

Attachments

(1 file)

Attached file testcase
1. Install https://www.squarefree.com/extensions/domFuzzLite3.xpi if you want the forced CC to work. 2. Load the testcase (in a debug build with XPCOM_MEM_LEAK_LOG=2). 3. Quit Firefox. Without the forced CC: ###!!! ASSERTION: Please remove this from the document properly: '!IsInDoc()', file content/base/src/nsGenericElement.cpp, line 2342 With the forced CC: Leak nsDocument+
This is yet another bug caused by the broken way in which we implement our table editing UI. When the entire content subtree is removed from the document, the anchor elements we use for the table editing UI will not be notified, so they will think that they're still in the document when they're being destroyed.
Blocks: 766416

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: