[webkit-gtk] Info on javascripcore

marco marcofal at tiscali.it
Wed Sep 18 08:32:47 PDT 2019


Hi all,

I'm developing a browser based on webkit-gtk in python through Gobject
Introspection.

So far I have implemented a couple of extensions getting the js context
from 

webkit_frame_get_js_context_for_script_world 

from a custom scriptworld

in the

window_object_cleared 

signal handler.

But I noticed that after webkit-gtk-2.24.2 something has changed in
JavaScriptCore and needed rewrite both extensions in the form

ext = { .... };

with all variables and functions as properties of the object.

Now it seems all fine but with some sites these extensions somehow
interfere with the javascript code loaded from these pages.


What has changed ? And there is a guide line about how to code in
JavaScriptCore for version above 2.24.2 ?

Thanks.




More information about the webkit-gtk mailing list