WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
173421
REGRESSION(
r218325
): [GTK] Runtime critical warnings running layout tests that show a popup menu
https://bugs.webkit.org/show_bug.cgi?id=173421
Summary
REGRESSION(r218325): [GTK] Runtime critical warnings running layout tests tha...
Carlos Garcia Campos
Reported
2017-06-15 08:51:56 PDT
(WebKitTestRunner:15339): GLib-GObject-WARNING **: invalid cast from 'WebKitWebViewBase' to 'WebKitWebView' (WebKitTestRunner:15339): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'signal_id > 0' failed In
r218325
I forgot to create a WebKitPopupMenu or WebPopupMenuProxyGtk depending on whether the view is a WebKitWebView or not.
Attachments
Patch
(1.68 KB, patch)
2017-06-15 08:54 PDT
,
Carlos Garcia Campos
clopez
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2017-06-15 08:53:07 PDT
This only affect WTR.
Carlos Garcia Campos
Comment 2
2017-06-15 08:54:22 PDT
Created
attachment 312986
[details]
Patch
Build Bot
Comment 3
2017-06-15 08:55:59 PDT
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
Adrian Perez
Comment 4
2017-06-15 09:19:54 PDT
Comment on
attachment 312986
[details]
Patch Informally reviewing: r+ Was this somehow not caught by the tests? From the ChangeLog description it sounds that the tests still pass despite the critical warnings.
Michael Catanzaro
Comment 5
2017-06-15 11:23:43 PDT
Comment on
attachment 312986
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=312986&action=review
Any warning ought to cause tests to fail :/ but it probably doesn't work that way currently.
> Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp:211 > + if (WEBKIT_IS_WEB_VIEW(m_viewWidget)) > + return WebKitPopupMenu::create(m_viewWidget, page); > + return WebPopupMenuProxyGtk::create(m_viewWidget, page);
It merits a comment to explain the difference, don't you think?
Carlos Garcia Campos
Comment 6
2017-06-15 23:03:29 PDT
Committed
r218382
: <
http://trac.webkit.org/changeset/218382
>
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