[Webkit-unassigned] [Bug 141641] New: [GTK] WebKitFrame objects are never released

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 16 05:08:32 PST 2015


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

            Bug ID: 141641
           Summary: [GTK] WebKitFrame objects are never released
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: gns at gnome.org, svillar at igalia.com, zan at falconsigh.net

We relay on willDestroyFrame callback of WKBundlePageLoaderClient, but this callback is never emitted and can't be emitted. It was my fault, I thought I had tested it when I added it, but the thing is that willDestroyFrame is called from WebFrameLoaderClient::frameLoaderDestroyed(), but at that point the frame has already been detached from the page, so WebFrame::page() always returns nullptr at that point. But even if we had a WebPage pointer at that time, when the page is closed, the loader client is reset before FrameLoader::detachFromParent() si called, so when WebFrameLoaderClient::frameLoaderDestroyed() is called then loader client doesn't have callbacks attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150216/6cc20d94/attachment-0002.html>


More information about the webkit-unassigned mailing list