Tighten up conditions for IntersectionObserver tracking
The root cause of the linked bug is that IntersectionObserverController continues to track an observer after the observer's root element is deleted. This CL tightens up the conditions for which objects are tracked: - Explicit root observers with observations, if the root is connected - Implicit root observations, if the target is connected BUG=1046897 R=vmpstr@chromium.org Change-Id: Ib98a0dd3c948e61200cd270011cfe18b8776d7fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2068860Reviewed-by:vmpstr <vmpstr@chromium.org> Commit-Queue: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/master@{#744795}
Showing
Please register or sign in to comment