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.

redirectEnd

Summary

Returns the time immediately after receiving the last byte of the response of the last redirect, if there are HTTP redirects or equivalent when navigating and all redirects and equivalents are from the same origin. Otherwise, returns zero.

Property of apis/navigation timing/PerformanceTimingapis/navigation timing/PerformanceTiming

Syntax

Note: This property is read-only.

var result = PerformanceTiming.redirectEnd;

Return Value

Returns an object of type unsigned longunsigned long

Examples

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

Related specifications

Navigation Timing 2
W3C Working Draft

Attributions