Package org.htmlunit.javascript
Classes in this package are specific to the JavaScript engine - users of HtmlUnit shouldn't
need anything in this package.
-
Interface Summary Interface Description AbstractJavaScriptEngine<SCRIPT> An interface forJavaScriptEngine
.JavaScriptErrorListener A listener for JavaScript exceptions. -
Class Summary Class Description DebugFrameAdapter An adapter class for debug frame implementations.DebugFrameImpl HtmlUnit's implementation of theDebugFrame
interface, which logs stack entries as well as exceptions.DebuggerAdapter An adapter class for debugger implementations.DebuggerImpl HtmlUnit's implementation of theDebugger
interface, which registersDebugFrameImpl
instances with Rhino for each new execution frame created.DefaultJavaScriptErrorListener Default implementation ofJavaScriptErrorListener
that does default logging.FunctionWrapper Wrapper for aFunction
delegating all calls to the wrapped instance.HiddenFunctionObject Extended FunctionObject that overrides avoidObjectDetection().HtmlUnitContextFactory ContextFactory that supports termination of scripts if they exceed a timeout.HtmlUnitContextFactory.HtmlUnitErrorReporter HtmlUnitScriptable Base class for Rhino host objects in HtmlUnit (not bound to a DOM node).HtmlUnitScriptableProxy<T extends HtmlUnitScriptable> Proxy for aHtmlUnitScriptable
.JavaScriptEngine A wrapper for the Rhino JavaScript engine that provides browser specific features.NativeFunctionToStringFunction Replacement (in fact a wrapper) for Rhino's native toString function on Function prototype allowing to produce the desired formatting.NativeFunctionToStringFunction.NativeFunctionToStringFunctionChrome NativeFunctionToStringFunction.NativeFunctionToStringFunctionFF PostponedAction An action triggered by a script execution but that should be executed first when the script is finished.RecursiveFunctionObject A FunctionObject that returns IDs of this object and all its parent classes.SilentJavaScriptErrorListener Silent implementation ofJavaScriptErrorListener
that does no logging at all. -
Error Summary Error Description TimeoutError An error that is thrown when a script has been running too long.