Hi, > >>> > I think that's fine, as this was kind of happening before > >>> > anyway, and if we can remove that IPC between main and ext > >>> > through ugly glib, the better. > >>> > >>> Not sure I get this one. Why glib? > >> > >> Because of the need for integrating into the main gtk loop, > >> look at the whole GIO madness (which doesn't work well too) > >> from pageusermessagereply(). > > Actually, why not use webkit_web_view_send_message_to_page? > https://webkitgtk.org/reference/webkitgtk/unstable/method.WebView.send_message_to_page.html
I have a local patch for this, but that's still ugly, because then you have to deal with freaking Glib Variant.