Struct

WebKit2JavascriptResult

Description [src]

struct WebKitJavascriptResult {
  /* No available fields */
}

Result of JavaScript evaluation in a web view.

Instance methods

webkit_javascript_result_get_global_context

Get the global Javascript context that should be used with the JSValueRef returned by webkit_javascript_result_get_value().

Deprecated since: 2.22

webkit_javascript_result_get_js_value

Get the JSCValue of js_result.

Available since: 2.22

webkit_javascript_result_get_value

Get the value of js_result. You should use the JSGlobalContextRef returned by webkit_javascript_result_get_global_context() to use the JSValueRef.

Deprecated since: 2.22

webkit_javascript_result_ref

Atomically increments the reference count of js_result by one. This function is MT-safe and may be called from any thread.

webkit_javascript_result_unref

Atomically decrements the reference count of js_result by one. If the reference count drops to 0, all memory allocated by the WebKitJavascriptResult is released. This function is MT-safe and may be called from any thread.