Bug 44432 - setAttributeNS() should throw NAMESPACE_ERR for prefixed qualifiedName with null namespace
Summary: setAttributeNS() should throw NAMESPACE_ERR for prefixed qualifiedName with n...
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on: 44443
  Show dependency treegraph
Reported: 2010-08-23 09:25 PDT by Andreas Kling
Modified: 2019-02-06 09:02 PST (History)
5 users (show)

See Also:

Proposed patch (4.04 KB, patch)
2010-08-23 09:27 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2010-08-23 09:25:30 PDT
According to DOM Level 2, if setAttributeNS() is called with a null namespace and a qualifiedName with a prefix, NAMESPACE_ERR should be raised.

Spec link:
Comment 1 Andreas Kling 2010-08-23 09:27:53 PDT
Created attachment 65130 [details]
Proposed patch
Comment 2 Andreas Kling 2010-08-23 09:35:03 PDT
Comment on attachment 65130 [details]
Proposed patch

Clearing flags on attachment: 65130

Committed r65814: <http://trac.webkit.org/changeset/65814>
Comment 3 Andreas Kling 2010-08-23 09:35:12 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 WebKit Review Bot 2010-08-23 10:19:27 PDT
http://trac.webkit.org/changeset/65814 might have broken Leopard Intel Release (Tests)
Comment 5 Alexey Proskuryakov 2010-08-23 11:13:23 PDT
(In reply to comment #0)
> According to DOM Level 2

I think that we care about DOM 3 Core and Firefox compatibility, not about DOM 2 Core. But in this case, DOM 3 Core and Firefox 3.6.8 both agree.
Comment 6 Andreas Kling 2010-08-24 01:15:34 PDT
Committed r65874: <http://trac.webkit.org/changeset/65874>
Comment 7 Lucas Forschler 2019-02-06 09:02:58 PST
Mass moving XML DOM bugs to the "DOM" Component.