ScriptWorld.this

Creates a new isolated #WebKitScriptWorld. Scripts executed in isolated worlds have access to the DOM but not to other variable or functions created by the page. The #WebKitScriptWorld is created with a generated unique name. Use webkitwebprocessextension.script_world.ScriptWorld.newWithName if you want to create it with a custom name. 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(void* ptr, Flag!"Take" take)
  2. this()
    class ScriptWorld
    this
    ()

Return Value

a new isolated #WebKitScriptWorld