[Webkit-unassigned] [Bug 78104] New: [GTK] Fix a crash when WebKitWebView is created without a WebContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 8 04:50:00 PST 2012


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

           Summary: [GTK] Fix a crash when WebKitWebView is created
                    without a WebContext
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgarcia at igalia.com
                CC: gns at gnome.org, pnormand at igalia.com


WebContext is a construct only property of WebKitWebView. webkit_web_view_new() passes the default web context as g_object_new parameter. If a web view is created with g_object_new without passing the web context parameter (which is a normal situation when creating objects derived from WebKitWebView), the default value for GObject propetrties is set (NULL). In webkitWebViewConstructed we assume the view already has a web context and it crashes if it hasn't.

-- 
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