Chromium Code Reviews
DescriptionAdjust leak detector expectations for IntersectionObserver
If the root document registers an intersection observer, an
IntersectionObserverController (i.e., an ActiveDOMObject) will be
created for that document. Since the object also holds a reference to
the document, it will not be collected as long as the root document
is live. This can cause the leak detector to falsely conclude that a new
active DOM object is being leaked.
This patch avoids the problem by increasing the number of expected
active DOM objects in the leak detector.
BUG=661182
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
|
||||||||||||||||||||||||||||