Run 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 Review URL: https://codereview.chromium.org/882913002 Cr-Commit-Position: refs/heads/master@{#313471}
Showing
Please register or sign in to comment