[Webkit-unassigned] [Bug 16606] [Gtk] Clean up WebKitWebFrame initialization code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 15 11:35:08 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16606


agent.couper at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |agent.couper at gmail.com




------- Comment #6 from agent.couper at gmail.com  2008-01-15 11:35 PDT -------
Recently, I've been investigating where and how WebKitWebFrame instance created
by FrameLoaderClient::createFrame() method gets freed. Someone on irc, where I
looked for help, has asked me to report my findings here, on bugzilla. So, here
we go.
I used RefDbg tool to trace GObjects creation/refs/derefs/finalization and
according to it, the only WebKitWebFrame instance that gets freed is the main
frame. Other frames, created via webkit_web_frame_init_with_web_view are never
freed. 
Here what I did:
- Download and compile RefDbg from http://refdbg.sourceforge.net/
- Compile debug version of WebKit GTK
- Start GtkLauncher under RefDbg with
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_frame_cols as page to
open
- Wait till page fully loads and then close GtkLauncher.
- Examine RefDbg log for leaks 


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



More information about the webkit-unassigned mailing list