概要
PerformanceTiming
.redirectStart
是一个返回代表一个时刻的 unsigned long long
型只读属性,为第一个HTTP的重定向开始的时刻的 Unix毫秒时间戳。如果重定向没有发生,或者其中一个重定向非同源,则该值返回 0。
语法
time = performanceTiming.redirectStart;
标准
Specification | Status | Comment |
---|---|---|
Navigation Timing PerformanceTiming.redirectStart |
Recommendation | Initial definition. |
浏览器兼容性
BCD tables only load in the browser
参见
- 它属于
PerformanceTiming
接口。