WebKit2.JavascriptResult.prototype.get_global_context

function get_global_context(): JavaScriptCore.GlobalContext {
    // Gjs wrapper for webkit_javascript_result_get_global_context()
}
  

Get the global Javascript context that should be used with the <function>JSValueRef</function> returned by WebKit2.JavascriptResult.prototype.get_value.

Returns

the <function>JSGlobalContextRef</function> for the WebKit2.JavascriptResult