Package org.htmlunit.javascript.host
Class ConsoleCustom
java.lang.Object
org.htmlunit.javascript.host.ConsoleCustom
Contains some missing features of Rhino
NativeConsole
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
timeStamp
(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function function) Adds a single marker to the browser's Performance or Waterfall tool.
-
Constructor Details
-
ConsoleCustom
private ConsoleCustom()
-
-
Method Details
-
timeStamp
public static void timeStamp(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function function) Adds a single marker to the browser's Performance or Waterfall tool. This lets you correlate a point in your code with the other events recorded in the timeline, such as layout and paint events.Currently a noop because timeline is not supported so far
- Parameters:
context
- the JavaScript contextscope
- the scopethisObj
- the scriptableargs
- the arguments passed into the methodfunction
- the function
-