[wpe-webkit] Using jsc_weak_xxxx API in WPE web-extensions

Michael Catanzaro mcatanzaro at igalia.com
Sun Jul 21 09:42:00 PDT 2019


On Sun, Jul 21, 2019 at 10:50 AM, Munez Bn <munezbn.dev at gmail.com> 
wrote:
> Then  I realized that it is defined in LibJavaScriptCore which is a 
> static library in WPE and dynamic in WKGTK.

That shouldn't matter. The JSC symbols should be exported in 
libwpewebkit.so (instead of libjavascriptcoregtk.so). Are you not able 
to use any of the JSC API?

> Correct me if I am wrong, technically Javascriptcore is linked to 
> libwpewebkit which is loaded in WebProcess. And extension also loaded 
> in WebProcess ?

Yes, most of the JSC API is for use in your web process extension, not 
the UI process.

Michael




More information about the webkit-wpe mailing list