Class ConsoleCustom


  • public final class ConsoleCustom
    extends java.lang.Object
    Contains some missing features of Rhino NativeConsole.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsoleCustom

        private ConsoleCustom()
    • 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 context
        scope - the scope
        thisObj - the scriptable
        args - the arguments passed into the method
        function - the function