Method

WPEWebExtensionFrameget_js_value_for_dom_object

since: 2.22

Declaration [src]

JSCValue*
webkit_frame_get_js_value_for_dom_object (
  WebKitFrame* frame,
  WebKitDOMObject* dom_object
)

Description [src]

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

Available since: 2.22

Parameters

dom_object

Type: WebKitDOMObject

A WebKitDOMObject.

The data is owned by the caller of the function.

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.