[Webkit-unassigned] [Bug 56452] New: toHTMLElement function ASSERT when rendering wml document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 15 23:55:16 PDT 2011


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

           Summary: toHTMLElement function ASSERT when rendering wml
                    document
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: etring at live.cn


The function toHTMLElement in HTMLElement.h ASSERT when rending a wml document, the input URL is (http://wap.sohu.com/news/world/?nid=170,170&rid=NL223865857,ND279841730&sr=CL252&v=1)
The node put into this function is a WMLInputElement object, it is not a html element, so it ASSERT.

The Call stack is:
WebKit.dll!WebCore::toHTMLElement(WebCore::Node * node=0x02f5eb98)  Line 123 + 0x33 bytes    C++
     WebKit.dll!WebCore::RenderTextControl::createSubtreeIfNeeded(WebCore::TextControlInnerElement * innerBlock=0x00000000)  Line 148 + 0x1d bytes    C++
     WebKit.dll!WebCore::RenderTextControlSingleLine::createSubtreeIfNeeded()  Line 672    C++
     WebKit.dll!WebCore::RenderTextControlSingleLine::updateFromElement()  Line 688    C++
     WebKit.dll!WebCore::WMLFormControlElement::attach()  Line 73 + 0x1d bytes    C++
     WebKit.dll!WebCore::XMLDocumentParser::startElementNs(const unsigned char * xmlLocalName=0x01fb845c, const unsigned char * xmlPrefix=0x00000000, const unsigned char * xmlURI=0x00000000, int nb_namespaces=0, const unsigned char * * libxmlNamespaces=0x00000000, int nb_attributes=3, int nb_defaulted=0, const unsigned char * * libxmlAttributes=0x04132800)  Line 829 + 0x1d bytes    C++
     WebKit.dll!WebCore::startElementNsHandler(void * closure=0x01f9e840, const unsigned char * localname=0x01fb845c, const unsigned char * prefix=0x00000000, const unsigned char * uri=0x00000000, int nb_namespaces=0, const unsigned char * * namespaces=0x00000000, int nb_attributes=3, int nb_defaulted=0, const unsigned char * * libxmlAttributes=0x04132800)  Line 1121    C++

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



More information about the webkit-unassigned mailing list