Memory leak when appending image to dom, and removing it
Reported by
afayo...@gmail.com,
Jun 27 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/50.0.2661.102 Chrome/50.0.2661.102 Safari/537.36 Steps to reproduce the problem: 1. Create an image and appending it to dom 2. Removing it 3. Take a heap snapshot, search for detached dom tree What is the expected behavior? We should find no detached dom tree, no detached HTMLImageElement What went wrong? The attached example code append a new image to dom (create function). After calling remove function, there is still an HTMLImageElement in memory. Did this work before? N/A Chrome version: 50.0.2661.102 Channel: n/a OS Version: Ubuntu 14.04 Flash Version: Chrome Windows, no memory leak. If I append image with onload callback, no memory leak. I have the same memory leak with video!
,
Jun 29 2016
Ok, I upgraded from Chromium/50.0.2661.102 to chrome/51.0.2704.106 and there is no memory leak ! It seems it was a bug in previous version. Thank you for your time.
,
Jun 29 2016
Thank you for providing more feedback. Adding requester "kavvaru@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 1 2016
closing as it appeares fixed in m51
,
Jul 21 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by kavvaru@chromium.org
, Jun 29 2016Components: Platform>DevTools
Labels: Needs-Feedback
68.9 KB
68.9 KB View Download