[Webkit-unassigned] [Bug 104040] New: DOMImplementation should call appendChild rather than parserAppendChild to add docType and documentElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 4 13:58:06 PST 2012


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

           Summary: DOMImplementation should call appendChild rather than
                    parserAppendChild to add docType and documentElement
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rafaelw at chromium.org
                CC: eric at webkit.org, darin at apple.com, abarth at webkit.org,
                    dglazkov at chromium.org, rolandsteiner at chromium.org


In particular, using parserAppendChild with doctype., breaks an invariant of that function which is the parent and child should already be owned by the same document.

Note that using appendChild brings webkit closer to DOM4 by not bypassing the standard work of http://dom.spec.whatwg.org/#concept-node-append.

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