This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

unloadEventEnd

Summary

Returns 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, returns zero.

Property of apis/navigation_timing/PerformanceTimingapis/navigation_timing/PerformanceTiming

Syntax

Note: This property is read-only.

var result = PerformanceTiming.unloadEventEnd;

Return Value

Returns an object of type unsigned longunsigned long

Examples

var perftime = performance.timing;
document.write("unloadEventEnd: " + perftime.unloadEventEnd + "<br />");

Notes

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

Related specifications

Navigation Timing 2
W3C Working Draft

Attributions