[Webkit-unassigned] [Bug 163606] New: DOM Document adoptNode doesn't always connect event handlers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 18 11:26:43 PDT 2016


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

            Bug ID: 163606
           Summary: DOM Document adoptNode doesn't always connect event
                    handlers
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org
                CC: cdumez at apple.com

If a Node containing an event handler is moved from one document to another, the event handler might not be registered with the new document if the old document has already been destroyed.

This appears to be due to some optimizations in the Node::didMoveToNewDocument" that check the original document for event handlers, and assume there's nothing to do if they have been purged. Unfortunately, this can cause us to fail to add event handlers when expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161018/75935460/attachment.html>


More information about the webkit-unassigned mailing list