domComplete property

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

 

Syntax

HRESULT value = object.get_domComplete(ULONGLONG* p);

Property values

Type: ULONGLONG

An ULONGLONG value that represents the time when the DOM is initialized or 0 if the document cannot be loaded.

Standards information

Remarks

The value of the IHTMLPerformanceTiming::domComplete property is controlled by the readyState property of the document object associated with the window object. The value of the IHTMLPerformanceTiming::domComplete property is updated when the readyState property is set to complete. If the document cannot be loaded, the value of the IHTMLPerformanceTiming::domComplete property is available after the HTMLFrameSiteEvents::onload event has finished executing.

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

Windows Internet Explorer 9. This property is supported only for documents displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.

See also

IHTMLPerformanceTiming::domLoading