Currently we are unconditionally disabling introspection support if USE_GTK4 is enabled. Removing that restriction from CMake and configuring with USE_GTK4=ON and ENABLE_INTROSPECTION=ON results in the following build error: (process:18103): GLib-GObject-WARNING **: 19:42:24.462: specified class size for type 'WebKitWebViewBase' is smaller than the parent type's 'GtkWidget' class size (process:18103): GLib-CRITICAL **: 19:42:24.463: g_once_init_leave: assertion 'result != 0' failed Invalid GType function: 'webkit_web_view_base_get_type' Function 'webkit_web_view_base_get_type' returned G_TYPE_INVALID UIProcess/API/glib/WebKitWebView.cpp:2193: Warning: WebKit2: multiple comment blocks documenting 'WebKitWebView::show-option-menu:' identifier (already seen at WebKitWebView.cpp:2157). Command '['/run/build/webkit-gtk4/Source/WebKit/tmp-introspectvo_b70is/WebKit2-5.0', '--introspect-dump=/run/build/webkit-gtk4/Source/WebKit/tmp-introspectvo_b70is/functions.txt,/run/build/webkit-gtk4/Source/WebKit/tmp-introspectvo_b70is/dump.xml']' returned non-zero exit status 1.
Created attachment 414847 [details] Patch
Committed r270178: <https://trac.webkit.org/changeset/270178> All reviewed patches have been landed. Closing bug and clearing flags on attachment 414847 [details].