[webkit-gtk] Custom JavaScript injection API and Isolated Worlds in WebKit2GTK+

Gustavo Noronha Silva gns at gnome.org
Sat Aug 10 08:45:13 PDT 2013


On Sex, 2013-08-09 at 18:39 +0200, Sergio Villar Senin wrote:
> > What do you think? is this enough or am I missing something?
> 
> The API looks great to me. I am not sure about the naming either,
> perhaps WebKitWebFrame would look more familiar.

I agree!

> The only doubt I have is whether it pays off the ScriptWorld object
> you propose or not. The API looks well designed but if we are not
> planing to add future API to that object maybe it's a bit overkill.

The good thing of using an object is it'll be easier to extend if we
ever required. This looks like one of those cases in which that is quite
likely to be needed, as more security and isolation features appear.

Cheers,

-- 
Gustavo Noronha Silva <gns at gnome.org>
GNOME Project



More information about the webkit-gtk mailing list