WebKit2.WebView.prototype.get_javascript_global_context

function get_javascript_global_context(): JavaScriptCore.GlobalContext {
    // Gjs wrapper for webkit_web_view_get_javascript_global_context()
}
  

Get the global JavaScript context used by web_view to deserialize the result values of scripts executed with WebKit2.WebView.prototype.run_javascript.

Returns

the <function>JSGlobalContextRef</function> used by web_view to deserialize the result values of scripts.