I use webkit_web_frame_get_global_context() to get JavaScriptCore context to create a bridge between frame's JavaScript environment and my application core. Since WebKitWebFrame is gone and no alternative way how to get frame's JavaScriptCore context hasn't been introduced yet, I cannot port my app to WebKit2Gtk. Would be possible to provide similar function in WebKit2Gtk? Probably in the new WebKitWebPage class?
Sorry, this is impossible since the DOM and JavaScript context are in another process altogether. We would like to expose this kind of API in the WebExtension though.
> We would like to expose this kind of API in the WebExtension though. That's exactly what I suggested, adding the API to WebKitWebPage class that lives in the same process as WebKitWebExtension, the DOM and JavaScript context. Or did I misunderstand something?
Sorry. I misread the original bug report. We do want this feature.
http://webkitgtk.org/reference/webkit2gtk/stable/WebKitFrame.html#webkit-frame-get-javascript-global-context You mean this?
> You mean this? Yes, that's the API I need. Big thanks to anyone involved in its implementation.