Bug 5724
| Summary: | setAttributeNS with null namespace sets namespace to string containing 'null' | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anders Carlsson <andersca> |
| Component: | DOM | Assignee: | Maciej Stachowiak <mjs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | cdumez |
| Priority: | P2 | ||
| Version: | 420+ | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Anders Carlsson
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Anders Carlsson
*** This bug has been marked as a duplicate of 5725 ***
Lucas Forschler
Mass moving XML DOM bugs to the "DOM" Component.