-
andersca authored
Reviewed by Maciej. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5378 createDocument fails with DOM Exception 5 when passed empty qname * khtml/ecma/kjs_dom.cpp: (KJS::DOMDOMImplementationProtoFunc::callAsFunction): When passing null to createDocument, pass a null DOMString, and not a DOMString containing the text "null". * khtml/xml/dom_docimpl.cpp: (DOMImplementationImpl::createDocument): Only validate the qualifiedName if it's not null or empty. Also, do not create the document element if the qualifiedName is null or empty. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a75a29b0