Bug 119261 - [WebKit2] [GTK] set-property functions missing for several WebKit2 classes
Summary: [WebKit2] [GTK] set-property functions missing for several WebKit2 classes
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 08:48 PDT by Brian Holt
Modified: 2021-03-05 09:14 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Holt 2013-07-30 08:48:28 PDT
When building a Debug build e.g. http://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug%20WK1/builds/3306/steps/compile-webkit/logs/stdio you will notice this line:

GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `class->set_property != NULL' failed

It appears because there are a number of WebKit* classes that install properties but do not provide a set_property function for the GObjectClass:

Source/WebKit2/UIProcess/API/gtk/WebKitFileChooserRequest.cpp:
Source/WebKit2/UIProcess/API/gtk/WebKitResponsePolicyDecision.cpp:
Source/WebKit2/UIProcess/API/gtk/WebKitURIResponse.cpp:
Source/WebKit2/UIProcess/API/gtk/WebKitWebInspector.cpp:
Source/WebKit2/UIProcess/API/gtk/WebKitNavigationPolicyDecision.cpp:
Source/WebKit2/UIProcess/API/gtk/WebKitWebResource.cpp:
Source/WebKit2/UIProcess/API/gtk/WebKitDownload.cpp:
Comment 1 Brian Holt 2013-07-30 09:32:51 PDT
The common thread in all of these classes is that the properties are all defined as read-only setting WEBKIT_PARAM_READABLE.
Comment 2 randy 2013-08-06 18:43:21 PDT
Confirmed on Gentoo with all builds. Seems like it started with kernel 3.10.4 and is hardware specific since webkit compiles fine on the intel laptop but bugs out with this on the amd server.
Comment 3 randy 2013-08-15 19:51:22 PDT
A list of a few more people affected by this. https://forums.gentoo.org/viewtopic-t-966266.html
Comment 4 Brian Holt 2013-09-18 06:25:31 PDT
(In reply to comment #2)
> Confirmed on Gentoo with all builds. Seems like it started with kernel 3.10.4 and is hardware specific since webkit compiles fine on the intel laptop but bugs out with this on the amd server.

Strange, I'm getting it on Intel hardware, Ubuntu 12.10 3.5.0-37-generic.
Comment 5 randy 2013-09-18 18:32:48 PDT
(In reply to comment #4)
> (In reply to comment #2)
> > Confirmed on Gentoo with all builds. Seems like it started with kernel 3.10.4 and is hardware specific since webkit compiles fine on the intel laptop but bugs out with this on the amd server.
> 
> Strange, I'm getting it on Intel hardware, Ubuntu 12.10 3.5.0-37-generic.

Yeah, I heard that and forgot to come back and say sonething. I also read someone say they had the same problem on a 3.9 kernel. It was pure speculation that seemed to follow evidence of the time, but that's a negative. Though I got an update that finally resolved this issue.
Comment 6 Zan Dobersek 2013-09-18 23:54:49 PDT
This message is generated when generating the GObject introspection files. I don't know how this would be affected by the kernel, or really anything other than the GI tools and the way the WebKit2GTK+ API is implemented.