Method

WebKit2WebExtensionFrameget_js_value_for_dom_object_in_script_world

deprecated: 2.40 since: 2.22

Declaration [src]

JSCValue*
webkit_frame_get_js_value_for_dom_object_in_script_world (
  WebKitFrame* frame,
  WebKitDOMObject* dom_object,
  WebKitScriptWorld* world
)

Description [src]

Get a JSCValue referencing the given DOM object. The value is created in the JavaScript execution context of frame for the given WebKitScriptWorld.

Available since: 2.22

Deprecated since: 2.40

Please do not use it in newly written code.

Parameters

dom_object

Type: WebKitDOMObject

A WebKitDOMObject.

The data is owned by the caller of the method.
world

Type: WebKitScriptWorld

A WebKitScriptWorld.

The data is owned by the caller of the method.

Return value

Type: JSCValue

The JSCValue referencing dom_object.

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