[Webkit-unassigned] [Bug 202847] [GTK][WPE] Add user messages API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 11 05:14:37 PDT 2019


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

--- Comment #1 from Milan Crha <mcrha at redhat.com> ---
The way I did it recently in Evolution was that I use JSC for the communication on both sides. If the script wants to say something to the client side, it does so through a custom signal of

> window.webkit.messageHandlers.MYSIGNAL.postMessage(data);

to which the client side listens. And when the client side wants to say something to the extension, (well, I do not talk to the extension, I only call javascript routines loaded in the extension), I just use javascript calls too.

I mean, there are ways to rely on WebKit's IPC already.

-- 
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/20191011/bfdbcadc/attachment.html>


More information about the webkit-unassigned mailing list