[Webkit-unassigned] [Bug 189128] New: IntersectionObserver leaks documents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 29 16:47:50 PDT 2018


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

            Bug ID: 189128
           Summary: IntersectionObserver leaks documents
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com

Testing with changes from bug 186214, I see that the following IntersectionObserver tests leak their documents:

imported/w3c/web-platform-tests/intersection-observer/client-rect.html
imported/w3c/web-platform-tests/intersection-observer/cross-origin-iframe.html
imported/w3c/web-platform-tests/intersection-observer/disconnect.html
imported/w3c/web-platform-tests/intersection-observer/isIntersecting-change-events.html
imported/w3c/web-platform-tests/intersection-observer/observer-attributes.html
imported/w3c/web-platform-tests/intersection-observer/shadow-content.html
imported/w3c/web-platform-tests/intersection-observer/text-target.html
imported/w3c/web-platform-tests/intersection-observer/timestamp.html
imported/w3c/web-platform-tests/intersection-observer/unclipped-root.html
imported/w3c/web-platform-tests/intersection-observer/zero-area-element-hidden.html
imported/w3c/web-platform-tests/intersection-observer/zero-area-element-visible.html

In manual testing, I see that the IntersectionObserver never goes away, which retains the callback, which retains the Document.

-- 
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/20180829/2b89b3b2/attachment.html>


More information about the webkit-unassigned mailing list