WebKit2.JavascriptResult

Fields

None

Methods

get_js_value ()

ref ()

unref ()

Details

class WebKit2.JavascriptResult

Result of JavaScript evaluation in a web view.

get_js_value()
Returns:

the JavaScriptCore.Value of the WebKit2.JavascriptResult

Return type:

JavaScriptCore.Value

Get the JavaScriptCore.Value of self.

New in version 2.22.

ref()
Returns:

The passed in WebKit2.JavascriptResult

Return type:

WebKit2.JavascriptResult

Atomically increments the reference count of self by one.

This function is MT-safe and may be called from any thread.

unref()

Atomically decrements the reference count of self by one.

If the reference count drops to 0, all memory allocated by the WebKit2.JavascriptResult is released. This function is MT-safe and may be called from any thread.