[webkit-gtk] Webkit GTK Release 2 - basically unusable for us

Eric Gregory eric at yorba.org
Thu May 2 11:23:40 PDT 2013

On Thu, May 2, 2013 at 12:57 AM, Sergio Villar Senin <svillar at igalia.com>wrote:

> This was already explained during the 2.x development process. In the
> new multiprocess architecture, the DOM tree lives in the WebProcess
> while your application is the UIProcess. Synchronous communication
> between both (as DOM bindings will require) is not (generally) allowed
> between these two processes because they must not block. Apple for
> example decided to reimplement for Safari all the use cases where they
> used their DOM bindings.
> Said that, it's still possible to access the DOM :-). The solution is
> the new WebExtensions API developed for 2.x series. You'd basically have
> to define a extension (kind of a plugin) that will be loaded by the
> WebProcess (so it can directly access the DOM) and that could talk back
> to your application using D-Bus or whatever method you like. Check for
> example ephy-web-extension.c [1] in the epiphany source code which
> implements the "save passwords from form" feature among others.

Oh... yikes.  So if I understand correctly, this means the DOM API is still
there, but I'd have to write a separate so/dll/dynlib in order to use it?

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

More information about the webkit-gtk mailing list