[Webkit-unassigned] [Bug 20250] New: Assertion failure in appendStartMarkup() when serializing an attribute node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 1 02:46:30 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20250

           Summary: Assertion failure in appendStartMarkup() when
                    serializing an attribute node
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


XMLSerializer can be called on certain types of nodes that would never occur
when serializing a document, and doing so results in an assertion failure:

(new XMLSerializer).serializeToString(document.createAttribute("myAttrib"));

        case Node::ATTRIBUTE_NODE:
        case Node::ENTITY_NODE:
        case Node::ENTITY_REFERENCE_NODE:
        case Node::NOTATION_NODE:
        case Node::XPATH_NAMESPACE_NODE:
            ASSERT_NOT_REACHED();

This does not cause any problems in release builds


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list