WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
153989
[GTK] WebKit2Gtk crashes when creating a webview with g_object_new.
https://bugs.webkit.org/show_bug.cgi?id=153989
Summary
[GTK] WebKit2Gtk crashes when creating a webview with g_object_new.
Danilo de Paula
Reported
2016-02-08 09:29:10 PST
WebKit2Gtk crashes when creating a WebView with g_object_new(WEBKIT_TYPE_WEB_VIEW, NULL). It happens because _WebViewBasePrivate is initialized with a call to RunLoop::main(), but it has never been initialized (as it's only initialized when we get a context, like the webkit_get_default_context() call). Initializing only the RunLoop causes other issue, so I realized that a full call to WebKit2Initialize should be made. Patch is coming next...
Attachments
patch v1
(2.73 KB, patch)
2016-02-08 09:33 PST
,
Danilo de Paula
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Danilo de Paula
Comment 1
2016-02-08 09:33:29 PST
Created
attachment 270858
[details]
patch v1
WebKit Commit Bot
Comment 2
2016-02-08 09:36:06 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Carlos Garcia Campos
Comment 3
2016-02-08 09:53:39 PST
Comment on
attachment 270858
[details]
patch v1 Thanks!
WebKit Commit Bot
Comment 4
2016-02-08 10:43:21 PST
Comment on
attachment 270858
[details]
patch v1 Clearing flags on attachment: 270858 Committed
r196257
: <
http://trac.webkit.org/changeset/196257
>
WebKit Commit Bot
Comment 5
2016-02-08 10:43:26 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug