Properties and Events

This section describes the properties and events associated with timing and performance standards supported by a Windows Store app using JavaScript and Windows Store apps.

In this section

TopicDescription

animationStartTime

Obsolete. Returns a timestamp of the start time of the current refresh interval, such that multiple animations can be synchronized with each other.

connectEnd

Gets the time that the user agent finishes establishing the connection to the server to retrieve the current document.

connectStart

Gets the time immediately before the user agent starts establishing the connection to the server to retrieve the document.

domainLookupEnd

The domainLookupEnd property must return the time immediately after the user agent finishes the domain name lookup for the current document. If a persistent connection is used or the current document is retrieved from relevant application caches or local resources, this property must return the same value as fetchStart.

domainLookupStart

The domainLookupStart property must return the time immediately before the user agent starts the domain name lookup for the current document. If a persistent connection is used or the current document is retrieved from relevant application caches or local resources, this attribute must return the same value as fetchStart.

domComplete

The domComplete property must return the time immediately before the user agent sets the current document readiness to complete.

domContentLoadedEventEnd

Returns the time, in milliseconds, immediately after the document's DOMContentLoaded event completes.

domContentLoadedEventStart

The domContentLoadedEventStart property must return the time immediately before the user agent fires the DOMContentLoaded event of the document.

domInteractive

The domInteractive property must return the time immediately before the user agent sets the current document readiness to interactive.

domLoading

The domLoading property must return the time immediately before the user agent sets the current document readiness to loading.

duration

A value representing the duration of a recorded event, if applicable.

entryType

A value representing the type of the recorded event.

fetchStart

Gets the time when the user agent starts fetching the resource.

hidden

Returns whether a webpage is visible.

loadEventEnd

The loadEventEnd property must return the time when the load event of the current document is completed. It must return zero when the load event is not fired or is not completed.

loadEventStart

The loadEventStart property must return the time immediately before the load event of the current document is fired. It must return zero if the load event has not been fired.

msFirstPaint

Gets the time when the document loaded by the window object began to be displayed to the user.

name

The identifier for the recorded event.

navigation

Gets a reference to the PerformanceNavigation object, which contains properties that provide timing information for the the navigation actions required to load the current document into the window object.

navigationStart

The navigationStart property must return the time immediately after the user agent finishes prompting to unload the previous document. If there is no previous document, this property must return the same value as fetchStart.

performance

The performance property provides a hosting area for properties related to performance measurement.

redirectCount

The redirectCount property must return the number of redirects since the last non-redirect navigation under the current browsing context. If there is no redirect or there is any redirect that is not from the same origin as the destination document, this property must return zero.

redirectEnd

If there are HTTP redirects or equivalent when navigating and all redirects and equivalents are from the same origin, the redirectEnd property must return the time immediately after receiving the last byte of the response of the last redirect. Otherwise, this property must return zero.

redirectStart

If there are HTTP redirects or equivalent when navigating and if all the redirects or equivalent are from the same origin, the redirectStart property must return the starting time of the fetch that initiates the redirect. Otherwise, this attribute must return zero.

requestStart

The requestStart property must return the time immediately before the user agent starts requesting the current document from the server, from relevant application caches, or from local resources.

responseEnd

The responseEnd property must return the time immediately after the user agent receives the last byte of the current document or immediately before the transport connection is closed, whichever comes first. The document here can be received either from the server, relevant application caches, or from local resources.

responseStart

The responseStart property must return the time immediately after the user agent receives the first byte of the response from the server, from relevant application caches, or from local resources.

startTime

The initial time associated with a recorded event.

timing

Gets a reference to a performanceTiming object, which contains properties that describe time stamps taken at various points during the process that loaded the current document into the window object.

type

The type property must return the type of the last non-redirect navigation in the current browsing context.

unloadEventEnd

If the previous document and the current document have the same origin, the unloadEventEnd property must return the time immediately after the user agent finishes the unload event of the previous document. If there is no previous document or the previous document has a different origin than the current document, or the unload is not yet completed, this attribute must return zero.

unloadEventStart

If the previous document and the current document have the same origin, the unloadEventStart property must return the time immediately before the user agent starts the unload event of the previous document. If there is no previous document or the previous document has a different origin than the current document, this attribute must return zero.

visibilitychange

Triggered when the visibilityState property changes.

visibilityState

Returns the visibility state of a webpage.

 

 

 

Show:
© 2014 Microsoft