Open Bug 464735 Opened 16 years ago Updated 2 years ago

nsDocument::Destroy shouldn't release preserved wrappers

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

ASSIGNED

People

(Reporter: peterv, Assigned: peterv)

Details

Currently we release preserved wrappers from nsDocument::Destroy and from nsGenericDOMDataNode/nsGenericElement::DestroyContent. We should let cycle collection release preserved wrappers, but at least mochitest leaks when we do that, so there's some objects holding on to nodes that don't participate in cycle collection.
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.