Closed Bug 590421 Opened 14 years ago Closed 14 years ago

"ASSERTION: Must have the same owner document" with document fragments, GC

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

The testcase needs to be able to trigger a GC, so you'll need to install https://www.squarefree.com/extensions/domFuzzLite.xpi or modify it to trigger a GC in another way.

###!!! ASSERTION: Must have the same owner document: 'HasSameOwnerDoc(NODE_FROM(aParent, aDocument))', file /builds/slave/mozilla-central-macosx-debug/build/content/base/src/nsGenericElement.cpp, line 2828
Attached file stack trace
Peter, are we failing to adopt due to the owner doc of the target having gone away or something?  And then pressing on?

Olli, weren't we going to hold strong refs to owner docs?
I think this situation can lead to additional assertions, such as:

###!!! ASSERTION: Element without owner document: 'Error', file content/base/src/nsGenericElement.cpp, line 3424

###!!! ASSERTION: need base URI: 'aBaseURI', file layout/style/nsCSSParser.cpp, line 1074
WFM
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: