Method

WebKit2WebExtensionFrameget_js_context

since: 2.22

Declaration [src]

JSCContext*
webkit_frame_get_js_context (
  WebKitFrame* frame
)

Description [src]

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

Available since: 2.22

Return value

Type: JSCContext

The JSCContext for the JavaScript execution context of frame.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.