Bug 124411 - Memory leaks with autoLoadImages off
Summary: Memory leaks with autoLoadImages off
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Allan Sandfeld Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-15 07:14 PST by Allan Sandfeld Jensen
Modified: 2014-07-13 04:16 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.67 KB, patch)
2013-11-15 07:17 PST, Allan Sandfeld Jensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.