Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
2.1.0
-
None
-
Operating System: Other
Platform: Other
-
13751
Description
The documentation for the DOMNamedNodeMap::removeNamedItem method states that
null may be returned if no node with such a name exists. The doco also says
that a DOMException NOT_FOUND_ERR is raised if there is no node named name in
the map.
This seems contradictory. Maybe this is from some doco being accidentially
copied?
The DOM spec does not state that this method can return null.
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-1780488922