On Tue, Sep 12, 2017 at 4:56 PM, Michael Catanzaro <[email protected]> wrote:
> On Tue, Sep 12, 2017 at 9:29 AM, Ludovic Brenta < > [email protected]> 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.. Tom
_______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
