[Webkit-unassigned] [Bug 101654] New: Node::removedFrom could be renamed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 8 15:18:55 PST 2012


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

           Summary: Node::removedFrom could be renamed
           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: schenney at chromium.org
                CC: esprehn at chromium.org, ojan at chromium.org


Node::removedFrom is not called when a node is removed due to Document::removedLastRef. In that case, as an optimization, we just call the destructor (it is also rumored that this is the reason we do not issue onunload on frame destruction).

We need a better name for removedFrom, or some other mechanism, to remind implementors that anything they do to clean up pointers etc must be done in both the destructor and removedFrom.

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