public class NativeFunctionToStringFunction extends FunctionWrapper
Modifier and Type | Method and Description |
---|---|
Object |
call(net.sourceforge.htmlunit.corejs.javascript.Context cx,
net.sourceforge.htmlunit.corejs.javascript.Scriptable scope,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args) |
static void |
installFix(net.sourceforge.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(net.sourceforge.htmlunit.corejs.javascript.Scriptable window, BrowserVersion browserVersion)
window
- the scopebrowserVersion
- the simulated browserpublic Object call(net.sourceforge.htmlunit.corejs.javascript.Context cx, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args)
call
in interface net.sourceforge.htmlunit.corejs.javascript.Callable
call
in interface net.sourceforge.htmlunit.corejs.javascript.Function
call
in class FunctionWrapper
Copyright © 2002–2020 Gargoyle Software Inc.. All rights reserved.