Class PerformanceTiming
java.lang.Object
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.debug.DebuggableObject
,org.htmlunit.corejs.javascript.Scriptable
,org.htmlunit.corejs.javascript.SymbolScriptable
A JavaScript object for
PerformanceTiming
.
This implementation is a simple mock for the moment.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject
org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
private final long
Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable
NOT_FOUND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
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.javascript.HtmlUnitScriptable
clone, equivalentValues, get, getBrowserVersion, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getPrototype, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, makeScriptableFor, put, setClassName, setDomNode, setDomNode, setParentScope, setupPromise, setupRejectedPromise
Methods inherited from class org.htmlunit.corejs.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setPrototype, size
-
Field Details
-
domainLookupStart_
private final long domainLookupStart_ -
domainLookupEnd_
private final long domainLookupEnd_ -
connectStart_
private final long connectStart_ -
connectEnd_
private final long connectEnd_ -
responseStart_
private final long responseStart_ -
responseEnd_
private final long responseEnd_ -
domContentLoadedEventStart_
private final long domContentLoadedEventStart_ -
domContentLoadedEventEnd_
private final long domContentLoadedEventEnd_ -
domLoading_
private final long domLoading_ -
domInteractive_
private final long domInteractive_ -
domComplete_
private final long domComplete_ -
loadEventStart_
private final long loadEventStart_ -
loadEventEnd_
private final long loadEventEnd_ -
fetchStart_
private final long fetchStart_
-
-
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
-
getFetchStart
public long getFetchStart()- Returns:
- a navigationStart
-