PerformanceTiming.connectEnd

Summary

PerformanceTiming.connectEnd 这个只读属性返回一个无符号长整型,它以毫秒为单位,代表了网络链接建立的时间节点。如果传输层报告了错误或者链接又被重新建立,则采用最后一次链接建立的时间。如果链接是长久的,那么这个值等同于PerformanceTiming.fetchStart。链接被认为打开以所有的链接握手,SOCKS认证结束为标志。

Syntax

time = performanceTiming.connectEnd;

Specifications

Specification Status Comment
Navigation Timing
PerformanceTiming.connectEnd
Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
connectEnd
Deprecated
Chrome Full support 6Edge Full support 12Firefox Full support 7IE Full support 9Opera Full support 15Safari Full support 11WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 7Opera Android Full support 14Safari iOS Full support 11Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

See also