domainLookupEnd property

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.

Syntax

JavaScript

p = object.domainLookupEnd

Property values

Type: Integer

An Integer value that represents the time immediately after the user agent finishes the domain name lookup for the current document.

Standards information

Remarks

If a page is retrieved from an application cache, domainLookupEnd will have the same value as fetchStart.

The value reported by the domainLookupEnd property represents the number of milliseconds between the recorded time and midnight January 1, 1970 (UTC).

This property is supported only for documents displayed in a Windows Store app using JavaScript. For more information, see Defining Document Compatibility.

Examples

The following example shows how to calculate the amount of time to complete a domain name request for the document.


var oTiming = window.performance.timing;
var iTimeMS = oTiming.domainLookupEnd - oTiming.domainLookupStart;

See also

performanceTiming
domainLookupStart

 

 

Show:
© 2014 Microsoft