[Webkit-unassigned] [Bug 18041] New: DOMNodeRemoved events are sent twice

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 24 00:51:05 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18041

           Summary: DOMNodeRemoved events are sent twice
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: illenberger at mac.com


When a node is removed from a DOMDocument, observers of the DOMNodeRemoved
event are notified twice for each change when they should only be notified
once.

I could track down the reason for this behavior to ContainerNode.cpp where the
same event is fired explicitly in line 390 and directly afterwards via
willRemoveChild/dispatchChildRemovalEvents.

Most probably, the explicit sending of the event in line 390 has to be removed.


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



More information about the webkit-unassigned mailing list