Re: Webkit2 porting
- From: Adrian Perez de Castro <aperez igalia com>
- To: desktop-devel-list <desktop-devel-list gnome org>
- Subject: Re: Webkit2 porting
- Date: Thu, 16 Oct 2014 16:53:18 +0300
Hello to all,
On Wed, 15 Oct 2014 02:08:24 -0400, Robert Schroll <rschroll gmail com> wrote:
On Tue, Oct 14, 2014 at 10:17 PM, Michael Catanzaro
<mcatanzaro gnome org> wrote:
Anyway, Robert and I spent yesterday morning learning how to get a
very
simple example of UI process <-> web extension IPC working via D-Bus.
(Well, mostly working: Robert discovered today that our example D-Bus
signal is broken....) The plan was for him to publish the code on
GitHub
soon.
I've put the example up on Github:
https://github.com/rschroll/webkitdom [...]
I have just gone over the README:
“messages are passed back to the UI through the title of the WebView”
...and this, while it works and allows to receive updates from the web
process to the UI side by connecting to title changes, is certainly
cringeworthy.
As a matter of fact, I have an almost-ready patch to allow to send
messages from JavaScript (in the web process) to the UI process [1].
That, along with the recently-added support for script injection [2]
will make it much easier to solve the inter-process communication for
a lot of use cases.
Admittedly, I should take care of getting the script user messages
patch included in the next release — ideally it should have been in
2.6.1 already.
/me goes heads down hacking a bit on WebKitGTK+
Regards,
--
☺ Adrian
---
[1] https://bugs.webkit.org/show_bug.cgi?id=133730
[2] http://webkitgtk.org/reference/webkit2gtk/stable/WebKitUserContentManager.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]