[Webkit-unassigned] [Bug 196118] New: [Web Animations] JS wrapper may be deleted while animation is yet to dispatch its finish event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 21 16:23:15 PDT 2019


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

            Bug ID: 196118
           Summary: [Web Animations] JS wrapper may be deleted while
                    animation is yet to dispatch its finish event
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at apple.com
                CC: dino at apple.com

This simple code may not work if JS garbage collection occurs while the animation is in flight:

document.body.firstElementChild.animate({
    marginLeft: ["0", "100px"]
}, 5000).addEventListener("finish", event => console.log(event.type));

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190321/1410828f/attachment-0001.html>


More information about the webkit-unassigned mailing list