[Webkit-unassigned] [Bug 123756] New: Moving the node while handling DOMNodeRemovedFromDocument can force sending multiple DOMNodeRemovedFromDocument to nodes still in the DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 4 14:26:42 PST 2013


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

           Summary: Moving the node while handling
                    DOMNodeRemovedFromDocument can force sending multiple
                    DOMNodeRemovedFromDocument to nodes still in the DOM
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: achicu at adobe.com


1. Open the attached example.
2. Click Move nodes.
3. Notice how DOMNodeRemovedFromDocument is even for elements that are still part of the DOM.

The code iterates on the children of the removed node. If one of the children is moved while handling its DOMNodeRemovedFromDocument event, the runtime will continue from its new location and send the events to all the nodes using the new location.

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