[Webkit-unassigned] [Bug 142225] New: WebView should hold a reference on WebContext because non-default contexts are a reality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 3 10:38:16 PST 2015


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

            Bug ID: 142225
           Summary: WebView should hold a reference on WebContext because
                    non-default contexts are a reality
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rishi.is at lostca.se

Now that we can create our own non-default WebKitWebContexts (see bug 138826), it is possible that the reference on the context is dropped before the WebKitWebView that is using it is destroyed. eg., in gnome-online-accounts, we have a custom composite widget that contains a context and a view. During destruction of the widget hierarchy, the reference on the context gets dropped in the widget's dispose before the widget's parent actually destroys the widget. This leads to a crash.

WebKitWebViews should therefore hold a reference to the WebKitWebContext to avoid this.

Patch will follow.

-- 
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/20150303/cb223098/attachment-0002.html>


More information about the webkit-unassigned mailing list