[Webkit-unassigned] [Bug 54689] New: HTML Fragment parsing bug in HTMLHtmlElement.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 17 14:14:45 PST 2011


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

           Summary: HTML Fragment parsing bug in HTMLHtmlElement.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: michaeln at google.com
                CC: abarth at webkit.org, michaeln at google.com,
                    aestes at apple.com


Looks like the test for fragment'ness when a synthesized <html> element for an innerHtml fragment no longer functions properly in HTMLHtmlElement::insertedByParser().

void HTMLHtmlElement::insertedByParser()
{
    // When parsing a fragment, its dummy document has a null parser.
    if (!document()->parser() || !document()->parser()->documentWasLoadedAsPartOfNavigation())
        return;

That test no longer weeds out these elements so the method continues when it shouldn't. This has bad consequences for the appcache system.

See http://code.google.com/p/chromium/issues/detail?id=72986 for some history.

-- 
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