After loading the testcase, I get two of these at each GC: ###!!! ASSERTION: no owner document: 'GetOwnerDoc()', file /Users/admin/trunk/mozilla/content/base/src/nsGenericDOMDataNode.cpp, line 632
In Gecko a node is allowed to not have an ownerDocument (that's why it's GetOwnerDoc() and not OwnerDoc()). We can try to give the DOMImplementation a document (not sure which), but the assertion is bogus and nsGenericDOMDataNode::AppendReachableList should be able to deal with a null ownerDocument.
The doctype *should not* have an owner document there according to the DOM spec, so the solution here is definitely to make AppendReachableList be able to deal.
Created attachment 211398 [details] [diff] [review] patch
Attachment #211398 - Flags: review?(bugmail) → review+
Attachment #211398 - Flags: superreview?(peterv) → superreview+
Fix checked in to trunk.
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
Fixed on MOZILLA_1_8_BRANCH by checkin of bug 336791.
Crashtest checked in.
You need to log in before you can comment on or make changes to this bug.