[Webkit-unassigned] [Bug 108960] [GTK] Remove subresource leaks from WebKit1 and WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 11 09:14:05 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108960





--- Comment #19 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-02-11 09:16:18 PST ---
(In reply to comment #18)
> (In reply to comment #16)
> 
> > In that case get_subresources might not work, if some subresources has been deleted by the document loader.
> 
> Hrm. I'm not sure what you mean here. I was thinking that maybe the loader doesn't keep a reference to subresources that aren't present somewhere in the DOM (things like AJAX replies). To be honest, I haven't confirmed this. It's the API used for [WebDataSource subresources].
>

Ah, that makes sense, anyway we would need to look at it in more detail.

> > Well, I was thinking of deprecating the old api and adding a new async api to get the subresources that would transfer the ownership to the caller.
> 
> Fixing the old API probably has value too, because it will fix a memory leak in pre-existing applications.

My idea was to make old API return NULL and not cache resources at all.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list