webkitwebprocessextension.script_world

Module for [ScriptWorld] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
ScriptWorld self() nothrowReturns `this`, for use in `with` statements.
ScriptWorldGidBuilder builder() static nothrowGet builder for [webkitwebprocessextension.script_world.ScriptWorld] Returns: New builder object
webkitwebprocessextension.script_world.ScriptWorld newWithName(string name) static nothrowCreates 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 JavaScr...
webkitwebprocessextension.script_world.ScriptWorld getDefault() static nothrowGet the default #WebKitScriptWorld. This is the normal script world where all scripts are executed by default. You can get the JavaScript execution context of a #WebKitScriptWorld for a given #WebK...
string getName() nothrowGet the name of a #WebKitScriptWorld. Returns: the name of world
gulong connectWindowObjectCleared(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkitwebprocessextension.web_page.WebPage))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : webkitwebprocessextension.frame.Frame))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : webkitwebprocessextension.script_world.ScriptWorld))) && Parameters!T.length < 4) nothrowConnect to `WindowObjectCleared` signal.
Constructors
this(void * ptr, Flag!"Take" take)
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 w...
Methods
ScriptWorld build() nothrowCreate object from builder. Returns: New object