Closed
Bug 6073
Opened 26 years ago
Closed 26 years ago
Node::childNodes should never be null
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
M10
People
(Reporter: dbaron, Assigned: vidur)
References
()
Details
Node::childNodes should never be null. If a node has no children, it should be
a nodelist with no nodes in it.
See the above test ("Run Passive Tests"), and the DOM spec:
http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-1950641247
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M8
Assignee | ||
Comment 1•26 years ago
|
||
Yup. It's just laziness on my part. Since this isn't breaking anyone, I'm moving
it to M8.
Assignee | ||
Updated•26 years ago
|
Target Milestone: M8 → M10
Assignee | ||
Comment 2•26 years ago
|
||
I have a question into the DOM WG, since I believe it might be a mistake that
the spec requires that all nodes (even those that can't have children) have a
childNodes list under them. My recollection is that we decided that all
*elements* should always return a valid childNodes list, but I think it might
have inadvertantly been written up as all nodes. Pushing off the bug till I get
an answer.
Comment 3•26 years ago
|
||
Node::getAttributes() does the same thing
Assignee | ||
Comment 4•26 years ago
|
||
Yes, but Node::getAttributes() does that as per spec. It should return null for
all but Elements.
Assignee | ||
Comment 5•26 years ago
|
||
I have a fix in my tree. Still waiting for the tree to be open and green at a
point where I'm ready to check in.
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•26 years ago
|
||
Fix checked in on 8/25/1999.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 8•25 years ago
|
||
Verified fixed, Linux apprunner 1999-10-08-08-M11.
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
•