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

RESOLVED WORKSFORME

Status

()

Core
DOM
RESOLVED WORKSFORME
8 years ago
7 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

(Blocks: 1 bug, {assertion, testcase})

Trunk
x86
Mac OS X
assertion, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

8 years ago
Created attachment 468954 [details]
testcase (requires extension to be installed)

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
(Reporter)

Comment 1

8 years ago
Created attachment 468955 [details]
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?
(Reporter)

Updated

8 years ago
Blocks: 594645
(Reporter)

Comment 3

8 years ago
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
(Reporter)

Comment 4

7 years ago
WFM
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.