概要
PerformanceTiming
.requestStart
是一个返回代表一个时刻的 unsigned long long
型只读属性,为浏览器发送从服务器或者缓存获取实际文档的请求之时的 Unix毫秒时间戳。如果传输层在请求开始之后发生错误并且连接被重新打开,则该属性将会被设定为新的请求的相应的值 。
语法
time = performanceTiming.requestStart;
标准
Specification | Status | Comment |
---|---|---|
Navigation Timing PerformanceTiming.requestStart |
Recommendation | Initial definition. |
浏览器兼容性
BCD tables only load in the browser
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
- 它属于
PerformanceTiming
接口。