Closed
Bug 564047
Opened 14 years ago
Closed 14 years ago
"ASSERTION: Nodes that are not documents, document fragments or elements can't be parents" with doctype node
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
DUPLICATE
of bug 613793
mozilla2.0b8
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: assertion, testcase)
Attachments
(1 file)
175 bytes,
text/html
|
Details |
Similar to bug 558973 (which is fixed) but with a more complicated testcase.
###!!! ASSERTION: Nodes that are not documents, document fragments or elements can't be parents!: 'aParent->IsNodeOfType(nsINode::eDOCUMENT) || aParent->IsNodeOfType(nsINode::eDOCUMENT_FRAGMENT) || aParent->IsElement()', file /Users/jruderman/mozilla-central/content/base/src/nsGenericElement.cpp, line 3863
Comment 1•14 years ago
|
||
Bleh, nsDOMDocumentType are nsGenericDOMDataNode but not IsNodeOfType(eDATA_NODE). Should I just add a flag for "can have children"?
Updated•14 years ago
|
Assignee: nobody → peterv
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → mozilla1.9.3a5
Comment 2•14 years ago
|
||
Where would we use this flag, other than asserts?
Reporter | ||
Comment 3•14 years ago
|
||
WFM:
JavaScript error: , line 0: uncaught exception: [Exception... "Node cannot be inserted at the specified point in the hierarchy" code: "3" nsresult: "0x80530003 (NS_ERROR_DOM_HIERARCHY_REQUEST_ERR)" location: "https://bug564047.bugzilla.mozilla.org/attachment.cgi?id=443737 Line: 6"]
Fix by the patch in bug 613793, perhaps? I know it made NS_ERROR_DOM_HIERARCHY_REQUEST_ERR occur in some cases where it didn't occur before.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Comment 4•14 years ago
|
||
> Fix by the patch in bug 613793, perhaps?
Very much so, yes.
No longer blocks: 613793
Resolution: WORKSFORME → DUPLICATE
Updated•14 years ago
|
Assignee: peterv → nobody
Status: RESOLVED → VERIFIED
Target Milestone: mozilla1.9.3a5 → mozilla2.0b8
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•