ScriptWorld


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.2" ) ]
public ScriptWorld ()

Creates a new isolated ScriptWorld.

Scripts executed in isolated worlds have access to the DOM but not to other variable or functions created by the page. The ScriptWorld is created with a generated unique name. Use ScriptWorld.with_name if you want to create it with a custom name. You can get the JavaScript execution context of a ScriptWorld for a given Frame with webkit_frame_get_javascript_context_for_script_world .

Returns:

a new isolated ScriptWorld