Changeset 65814 in webkit
- Timestamp:
- Aug 23, 2010 9:34:54 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r65812 r65814 1 2010-08-23 Andreas Kling <andreas.kling@nokia.com> 2 3 Reviewed by Tor Arne Vestbø. 4 5 setAttributeNS() should throw NAMESPACE_ERR for prefixed qualifiedName with null namespace 6 https://bugs.webkit.org/show_bug.cgi?id=44432 7 8 * fast/dom/script-tests/setAttributeNS-prefix-and-null-namespace.js: Added. 9 * fast/dom/setAttributeNS-prefix-and-null-namespace-expected.txt: Added. 10 * fast/dom/setAttributeNS-prefix-and-null-namespace.html: Added. 11 1 12 2010-08-23 Hironori Bono <hbono@chromium.org> 2 13 -
trunk/WebCore/ChangeLog
r65813 r65814 1 2010-08-23 Andreas Kling <andreas.kling@nokia.com> 2 3 Reviewed by Tor Arne Vestbø. 4 5 setAttributeNS() should throw NAMESPACE_ERR for prefixed qualifiedName with null namespace 6 https://bugs.webkit.org/show_bug.cgi?id=44432 7 8 Test: fast/dom/setAttributeNS-prefix-and-null-namespace.html 9 10 * dom/Element.cpp: 11 (WebCore::Element::setAttributeNS): Throw NAMESPACE_ERR if namespace is null 12 and the qualifiedName has a prefix. 13 1 14 2010-08-23 Ryuan Choi <ryuan.choi@samsung.com> 2 15 -
trunk/WebCore/dom/Element.cpp
r65681 r65814 1214 1214 return; 1215 1215 1216 if (namespaceURI.isNull() && !prefix.isNull()) { 1217 ec = NAMESPACE_ERR; 1218 return; 1219 } 1220 1216 1221 QualifiedName qName(prefix, localName, namespaceURI); 1217 1222
Note: See TracChangeset
for help on using the changeset viewer.