ScriptWorld.this

Creates a new isolated #WebKitScriptWorld with a name. Scripts executed in isolated worlds have access to the DOM but not to other variable or functions created by the page. You can get the JavaScript execution context of a #WebKitScriptWorld for a given #WebKitFrame with webkit_frame_get_javascript_context_for_script_world().

  1. this(WebKitScriptWorld* webKitScriptWorld, bool ownedRef)
  2. this()
  3. this(string name)
    class ScriptWorld
    this
    (
    string name
    )

Parameters

name string

a name for the script world

Return Value

a new isolated #WebKitScriptWorld

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.22