public class NativeGlobal extends Object implements Serializable, IdFunctionCall
See ECMA 15.1.[12].
| Constructor and Description |
|---|
NativeGlobal() |
| Modifier and Type | Method and Description |
|---|---|
static EcmaError |
constructError(Context cx,
String error,
String message,
Scriptable scope)
Deprecated.
Use
ScriptRuntime.constructError(String,String) instead. |
static EcmaError |
constructError(Context cx,
String error,
String message,
Scriptable scope,
String sourceName,
int lineNumber,
int columnNumber,
String lineSource)
Deprecated.
|
Object |
execIdCall(IdFunctionObject f,
Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args)
'thisObj' will be null if invoked as constructor, in which case instance of Scriptable should
be returned
|
static void |
init(Context cx,
Scriptable scope,
boolean sealed) |
public static void init(Context cx, Scriptable scope, boolean sealed)
public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args)
IdFunctionCallexecIdCall in interface IdFunctionCall@Deprecated public static EcmaError constructError(Context cx, String error, String message, Scriptable scope)
ScriptRuntime.constructError(String,String) instead.@Deprecated public static EcmaError constructError(Context cx, String error, String message, Scriptable scope, String sourceName, int lineNumber, int columnNumber, String lineSource)
ScriptRuntime.constructError(String,String,String,int,String,int)
instead.Copyright © 2023 HtmlUnit. All rights reserved.