Package org.htmlunit.javascript.host
Class ConsoleCustom
- java.lang.Object
-
- org.htmlunit.javascript.host.ConsoleCustom
-
public final class ConsoleCustom extends java.lang.Object
Contains some missing features of RhinoNativeConsole
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ConsoleCustom()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
timeStamp(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, java.lang.Object[] args, org.htmlunit.corejs.javascript.Function function)
Adds a single marker to the browser's Performance or Waterfall tool.
-
-
-
Method Detail
-
timeStamp
public static void timeStamp(org.htmlunit.corejs.javascript.Context context, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, java.lang.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
-
-