Bug 124411

Summary: Memory leaks with autoLoadImages off
Product: WebKit Reporter: Allan Sandfeld Jensen <allan.jensen>
Component: ImagesAssignee: Allan Sandfeld Jensen <allan.jensen>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, commit-queue, japhet
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Allan Sandfeld Jensen 2013-11-15 07:14:33 PST
If you browse around with autoLoadImages disabled you will noticed the memory consumption constantly increasing.

The image objects are still reachable though and are deleted on application exit instead of on page exit.
Comment 1 Allan Sandfeld Jensen 2013-11-15 07:17:46 PST
Created attachment 217050 [details]
Patch
Comment 2 Darin Adler 2014-07-12 16:39:04 PDT
Comment on attachment 217050 [details]
Patch

Is there some way to make a regression tests for this? Normally we require a test for any bug fix.
Comment 3 WebKit Commit Bot 2014-07-12 17:10:48 PDT
Comment on attachment 217050 [details]
Patch

Clearing flags on attachment: 217050

Committed r171036: <http://trac.webkit.org/changeset/171036>
Comment 4 WebKit Commit Bot 2014-07-12 17:10:53 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Allan Sandfeld Jensen 2014-07-13 04:16:37 PDT
(In reply to comment #2)
> (From update of attachment 217050 [details])
> Is there some way to make a regression tests for this? Normally we require a test for any bug fix.

Not sure. Some of the tools lists the live objects on exit, and if you finish with a full garbage collect that can be used to check for leaks, but I don't know any way to use that in our current testing infrastructure.