public class NativeFunctionToStringFunction extends FunctionWrapper
NOT_FOUND
Modifier and Type | Method and Description |
---|---|
Object |
call(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
org.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args) |
static void |
installFix(org.htmlunit.corejs.javascript.Scriptable window,
BrowserVersion browserVersion)
Install the wrapper in place of the native toString function on Function's prototype.
|
construct, delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype
public static void installFix(org.htmlunit.corejs.javascript.Scriptable window, BrowserVersion browserVersion)
window
- the scopebrowserVersion
- the simulated browserpublic Object call(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args)
call
in interface org.htmlunit.corejs.javascript.Callable
call
in interface org.htmlunit.corejs.javascript.Function
call
in class FunctionWrapper
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.