diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/performancetiming/connectstart | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/api/performancetiming/connectstart')
-rw-r--r-- | files/zh-cn/web/api/performancetiming/connectstart/index.html | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/performancetiming/connectstart/index.html b/files/zh-cn/web/api/performancetiming/connectstart/index.html new file mode 100644 index 0000000000..851a9aca75 --- /dev/null +++ b/files/zh-cn/web/api/performancetiming/connectstart/index.html @@ -0,0 +1,47 @@ +--- +title: PerformanceTiming.connectStart +slug: Web/API/PerformanceTiming/connectStart +translation_of: Web/API/PerformanceTiming/connectStart +--- +<p>{{APIRef("Navigation Timing")}}</p> + +<h2 id="概要">概要</h2> + +<p><code><strong>PerformanceTiming</strong></code><strong><code>.connectStart</code></strong> 是一个返回代表一个时刻的 <code>unsigned long long 型只读属性,</code>请求连接被发送到网络之时的Unix毫秒时间戳。如果传输层报告错误并且连接的建立重新开始,则把最后建立连接的开始时间作为该值。如果一个持久连接被使用,则该值与 {{domxref("PerformanceTiming.fetchStart")}} 相同。</p> + +<h2 id="语法">语法</h2> + +<pre class="syntaxbox"><em>time</em> = <em>performanceTiming</em>.connectStart;</pre> + +<h2 id="标准">标准</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('Navigation Timing', '#dom-performancetiming-connectstart', 'PerformanceTiming.connectStart')}}</td> + <td>{{Spec2('Navigation Timing')}}</td> + <td>Initial definition.</td> + </tr> + </tbody> +</table> + +<h2 id="浏览器兼容性">浏览器兼容性</h2> + +<div> +<div> + + +<p>{{Compat("api.PerformanceTiming.connectStart")}}</p> +</div> +</div> + +<h2 id="参见">参见</h2> + +<ul> + <li>它属于 {{domxref("PerformanceTiming")}} 接口。</li> +</ul> |