Module org.htmlunit

Class PerformanceTiming

java.lang.Object
org.htmlunit.corejs.javascript.SlotMapOwner<org.htmlunit.corejs.javascript.Scriptable>
org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.javascript.HtmlUnitScriptable
org.htmlunit.javascript.host.performance.PerformanceTiming
All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties<org.htmlunit.corejs.javascript.Scriptable>, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.PropHolder<org.htmlunit.corejs.javascript.Scriptable>, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

public class PerformanceTiming extends HtmlUnitScriptable
A JavaScript object for PerformanceTiming. This implementation is a simple mock for the moment.
Author:
Ahmed Ashour, Ronald Brill
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    org.htmlunit.corejs.javascript.ScriptableObject.DescriptorInfo, org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator, org.htmlunit.corejs.javascript.ScriptableObject.LambdaGetterFunction, org.htmlunit.corejs.javascript.ScriptableObject.LambdaSetterFunction
  • Field Summary

    Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST

    Fields inherited from class org.htmlunit.corejs.javascript.SlotMapOwner

    isSealed

    Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

    NOT_FOUND
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    long
     
    void
    JavaScript constructor.

    Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject

    applyDescriptorToAttributeBitset, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkNotSealed, checkPropertyChangeForSlot, checkPropertyChangeForSlot, checkPropertyDefinition, checkPropertyDefinition, checkSlotRemoval, defineBuiltinProperty, defineBuiltinProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, get, get, getAllIds, getAncestor, getArrayPrototype, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getThis, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasProperty, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGenericDescriptor, isGetterOrSetter, isGetterOrSetter, isTrue, preventExtensions, put, put, putConst, putConstProperty, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, redefineProperty, sameValue, sealObject, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size

    Methods inherited from class org.htmlunit.corejs.javascript.SlotMapOwner

    associateValue, checkNotSealed, copyAssociatedValue, createSlotMap, defineProperty, defineProperty, get, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getIds, has, has, isSealed, readMaps, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, writeMaps

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.htmlunit.corejs.javascript.Scriptable

    get, getIds, has, has

    Methods inherited from interface org.htmlunit.corejs.javascript.SymbolScriptable

    get, has
  • Constructor Details

    • PerformanceTiming

      public PerformanceTiming()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
    • getDomainLookupStart

      public long getDomainLookupStart()
      Returns:
      a domainLookupStart
    • getDomainLookupEnd

      public long getDomainLookupEnd()
      Returns:
      a domainLookupEnd
    • getConnectStart

      public long getConnectStart()
      Returns:
      a connectStart
    • getConnectEnd

      public long getConnectEnd()
      Returns:
      a connectEnd
    • getResponseStart

      public long getResponseStart()
      Returns:
      a responseStart
    • getResponseEnd

      public long getResponseEnd()
      Returns:
      a responseEnd
    • getSecureConnectionStart

      public long getSecureConnectionStart()
      Returns:
      a secureConnectionStart
    • getUnloadEventStart

      public long getUnloadEventStart()
      Returns:
      an unloadEventStart
    • getUnloadEventEnd

      public long getUnloadEventEnd()
      Returns:
      an unloadEventEnd
    • getRedirectStart

      public long getRedirectStart()
      Returns:
      a redirectStart
    • getRedirectEnd

      public long getRedirectEnd()
      Returns:
      a redirectEnd
    • getDomContentLoadedEventStart

      public long getDomContentLoadedEventStart()
      Returns:
      a domContentLoadedEventStart
    • getDomLoading

      public long getDomLoading()
      Returns:
      a domLoading
    • getDomInteractive

      public long getDomInteractive()
      Returns:
      a domInteractive
    • getDomContentLoadedEventEnd

      public long getDomContentLoadedEventEnd()
      Returns:
      a domContentLoadedEventEnd
    • getDomComplete

      public long getDomComplete()
      Returns:
      a domComplete
    • getLoadEventStart

      public long getLoadEventStart()
      Returns:
      a loadEventStart
    • getLoadEventEnd

      public long getLoadEventEnd()
      Returns:
      a loadEventEnd
    • getNavigationStart

      public long getNavigationStart()
      Returns:
      a navigationStart
    • getFetchStart

      public long getFetchStart()
      Returns:
      a navigationStart