AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/InjectedBundle/API/glib/WebKitFrame.cpp
/**
 * webkit_frame_get_js_context:
 * @frame: a #WebKitFrame
 *
 * Get the JavaScript execution context of @frame. Use this function to bridge
 * between the WebKit and JavaScriptCore APIs.
 *
 * Returns: (transfer full): the #JSCContext for the JavaScript execution context of @frame.
 *
 * Since: 2.22
 */


Get the JavaScript execution context of @frame. Use this function to bridge
between the WebKit and JavaScriptCore APIs.

(transfer full): the #JSCContext for the JavaScript execution context of @frame.


Get the JavaScript execution context of @frame . Use this function to bridge between the WebKit and JavaScriptCore APIs . ( transfer full ) : the #JSCContext for the JavaScript execution context of @frame .
JSCContext* webkit_frame_get_js_context(WebKitFrame* frame)
{
    g_return_val_if_fail(WEBKIT_IS_FRAME(frame), nullptr);
    return jscContextGetOrCreate(frame->priv->webFrame->jsContext()).leakRef();
}
JSCContext * webkit_frame_get_js_context ( WebKitFrame * frame ) { g_return_val_if_fail ( WEBKIT_IS_FRAME ( frame ) , nullptr ) ; return jscContextGetOrCreate ( frame -> priv -> webFrame -> jsContext ( ) ) . leakRef ( ) ; }
webkit_frame_get_js_context:
 @frame: a #WebKitFrame
webkit_frame_get_js_context : @frame : a #WebKitFrame