DescriptionRun V8 GC before detecting Document leaks in inspector_memory_unittest.py.
Previously, this unit test was consistently failing because DOM wrappers were
retained at the time of detecting Document leaks. This patch adds a call to
V8's gc() before the leak check to make sure the DOM wrappers are freed.
BUG=422244
R=kouhei@chromium.org
Committed: https://crrev.com/2c9ef53fe11f7b108b5cd58b5486aae710cdfafe
Cr-Commit-Position: refs/heads/master@{#313471}
Patch Set 1 #
Messages
Total messages: 9 (2 generated)
|