Class ConsoleCustom

java.lang.Object
org.htmlunit.javascript.host.ConsoleCustom

public final class ConsoleCustom extends Object
Contains some missing features of Rhino NativeConsole.
Author:
Ronald Brill
  • Method Summary

    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, Object[] args, org.htmlunit.corejs.javascript.Function function)
    Adds a single marker to the browser's Performance or Waterfall tool.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 context
      scope - the scope
      thisObj - the scriptable
      args - the arguments passed into the method
      function - the function