[Webkit-unassigned] [Bug 182666] New: [GTK]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 9 17:35:16 PST 2018


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

            Bug ID: 182666
           Summary: [GTK]
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P3
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: talby at trap.mtview.ca.us
                CC: bugs-noreply at webkitgtk.org

Created attachment 333543

  --> https://bugs.webkit.org/attachment.cgi?id=333543&action=review

bug reproduction script

webkit_uri_scheme_request_finish_error() doesn't seem to be usable via GObject Introspection in Perl.
When GError pointers are passed as function arguments https://github.com/GNOME/perl-Glib-Object-Introspection/blob/master/gperl-i11n-marshal-arg.c#L118 seems to enforce a specific GITransfer setting.  I think this would be satisfied if https://trac.webkit.org/browser/webkit/trunk/Source/WebKit/UIProcess/API/glib/WebKitURISchemeRequest.cpp#L244 had a "(transfer full)" annotation for the error argument of webkit_uri_scheme_request_finish_error(), but I'm really not sure if that is the right thing to do, would solve my problem, or would mean code changes elsewhere as well.

I've attached a small script that reproduces the call failure I'm seeing, which is giving me:
> **
> ERROR:gperl-i11n-marshal-arg.c:118:sv_to_arg: assertion failed: (transfer == GI_TRANSFER_EVERYTHING)
> Aborted

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180210/e21b5425/attachment-0001.html>


More information about the webkit-unassigned mailing list