webkitwebprocessextension.script_world

Module for [ScriptWorld] class

Types 3

Methods
GType _gType() @property
ScriptWorld self()Returns `this`, for use in `with` statements.
ScriptWorldGidBuilder builder()Get builder for [webkitwebprocessextension.script_world.ScriptWorld] Returns: New builder object
webkitwebprocessextension.script_world.ScriptWorld newWithName(string name)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 JavaScr...
webkitwebprocessextension.script_world.ScriptWorld getDefault()Get 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()Get 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)Connect 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...

Fluent builder for [webkitwebprocessextension.script_world.ScriptWorld]