Bug 5724 - setAttributeNS with null namespace sets namespace to string containing 'null'
Summary: setAttributeNS with null namespace sets namespace to string containing 'null'
Status: RESOLVED DUPLICATE of bug 5725
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Maciej Stachowiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-13 04:02 PST by Anders Carlsson
Modified: 2019-02-06 09:03 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2005-11-13 04:02:17 PST
This is actually three bugs which are related:

Due to a typo, the code in isEqualNode doesn't check if the attributes differ.
When fixing this, one of the DOM3 tests started failing. This is because the tests load documents by 
loading them in a frame/iframe (I'm not sure) and then cloning the document manually. In this code, 
there's a call to setAttributeNS which sets the namespaceURI to 'null', so it won't be the same as the 
original.
Comment 1 Anders Carlsson 2005-11-13 04:11:57 PST

*** This bug has been marked as a duplicate of 5725 ***
Comment 2 Lucas Forschler 2019-02-06 09:03:50 PST
Mass moving XML DOM bugs to the "DOM" Component.