[Webkit-unassigned] [Bug 218225] New: IntersectionObserverCallback leaks
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 27 01:41:43 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=218225
Bug ID: 218225
Summary: IntersectionObserverCallback leaks
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cathiechen at igalia.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 412400
--> https://bugs.webkit.org/attachment.cgi?id=412400&action=review
layout test: intersection-observer-callback-leak.html
Like ResizeObserverCallback, the js objects inside IntersectionObserverCallback can not be garbage collected until the page is unloaded.
I tried to create a test of the IntersectionObserverCallback version, while it doesn't show any warnings.
`numberOfIntersectionObservers()` is right, because `IntersectionObserver::disconnect` removes observers from document.
But we can see in "Web Inspector -> Timelines -> Javascript Allocations", jsIntersectionObserver is not collected.
--
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/20201027/0241136c/attachment.htm>
More information about the webkit-unassigned
mailing list