[webkit-gtk] Calling a native (compiled) subprogram from JavaScript in WebKitGTK

Tomas Popela tpopela at redhat.com
Tue Sep 12 23:55:24 PDT 2017

On Tue, Sep 12, 2017 at 4:56 PM, Michael Catanzaro <mcatanzaro at igalia.com>

> On Tue, Sep 12, 2017 at 9:29 AM, Ludovic Brenta <
> ludovic at ludovic-brenta.org> wrote:
>> I am suspecting that I'm attaching the property to the wrong
> global object.  Since I'm stuck with Red Hat Enterprise Linux
>> and the webkitgtk3-devel-2.4.9-6.el7.x86_64 package, I have no
>> debugging info available for WebKit itself (only for the host
>> application), so I can't easily debug what's happening.
> Surely there should be debuginfo available... do you not see any results
> from 'debuginfo-install webkitgtk3'?
>   All I
>> can tell for sure is that Get_Javascript_Global_Context,
>> Get_Global_Object, String.To_JavaScript etc all return non-null
>> and that Exceptions remain null after the call to Set_Property.
>> Am I doing something wrong?  Is this feature even supported with
>> WebKit2 or should I switch to the deprecated WebKit 1 that does not
>> use a separate process?
> You should definitely not use the WebKit1 API, unless you are content to
> target RHEL 7 forever.

That's not entirely true. In RHEL 7.4 we introduced a new package
webkitgtk4 that contains WebKitGTK+ 2.14.7 (it will be rebased to 2.16.6
for 7.5), so you could use that one..

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-gtk/attachments/20170913/1ac0e140/attachment.html>

More information about the webkit-gtk mailing list