Show
Ignore:
Timestamp:
03/22/08 02:50:54 (8 months ago)
Author:
eric@webkit.org
Message:

Reviewed by mjs.

Unify handling of NAMESPACE_ERR and fix Acid3 test 25
http://bugs.webkit.org/show_bug.cgi?id=16693

Test: fast/dom/DOMImplementation/createDocumentType-err.html

  • dom/DOMImplementation.cpp: (WebCore::DOMImplementation::createDocumentType): (WebCore::DOMImplementation::createDocument):
  • dom/DOMImplementation.idl:
  • dom/Document.cpp: (WebCore::Document::hasPrefixNamespaceMismatch): (WebCore::Document::createElementNS): (WebCore::Document::parseQualifiedName): (WebCore::Document::createAttributeNS):
  • dom/Document.h:
  • dom/Element.cpp: (WebCore::Element::setAttributeNS):
  • editing/FormatBlockCommand.cpp: (WebCore::FormatBlockCommand::doApply):
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/dom/DOMImplementation.idl

    r27276 r31231  
    3434        // DOM Level 2 
    3535 
    36         [OldStyleObjC] DocumentType createDocumentType(in DOMString qualifiedName, 
    37                                                        in DOMString publicId, 
    38                                                        in DOMString systemId) 
     36        [OldStyleObjC] DocumentType createDocumentType(in [ConvertUndefinedOrNullToNullString] DOMString qualifiedName, 
     37                                                       in [ConvertUndefinedOrNullToNullString] DOMString publicId, 
     38                                                       in [ConvertUndefinedOrNullToNullString] DOMString systemId) 
    3939            raises(DOMException); 
    4040        [OldStyleObjC] Document createDocument(in [ConvertNullToNullString] DOMString namespaceURI,