[Webkit-unassigned] [Bug 103571] New: some checkReplaceChild() can be skipped if there are no event listener fired.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 28 16:06:19 PST 2012


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

           Summary: some checkReplaceChild() can be skipped if there are
                    no event listener fired.
           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: morrita at google.com
                CC: ojan at chromium.org, haraken at chromium.org


Suggested at Bug 103372.

ContainerNode::replaceChild() calls multiple checkReplaceChild() for preventing manifold tree.
But we can skip the one other than the first if we know there is no event listener fired since the last checkReplaceChild() call.
That omission will improve replaceChild() performance.

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