Skip to content

Commit e05cf82

Browse files
committed
fix: Add http method to fetch timing info
This change will allow for the addition of the http method to the resource-timing spec Explainer: https://github.com/rt-explainer Associated resource-timing PR: w3c/resource-timing#375
1 parent 8f10983 commit e05cf82

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

fetch.bs

+5-1
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
353353
<dd>A <a for=/>list</a> of strings.
354354
<dt><dfn export for="fetch timing info">render-blocking</dfn> (default false)
355355
<dd>A boolean.
356+
<dt><dfn export for="fetch timing info">http method</dfn> (default: GET)
357+
<dd> A {{ByteString}}
356358
</dl>
357359

358360
<p>A <dfn export>response body info</dfn> is a <a for=/>struct</a> used to maintain
@@ -4231,7 +4233,9 @@ the response. [[!HTTP-CACHING]]
42314233
<li><p>Let <var>timingInfo</var> be a new <a for=/>fetch timing info</a> whose
42324234
<a for="fetch timing info">start time</a> and
42334235
<a for="fetch timing info">post-redirect start time</a> are the
4234-
<a for=/>coarsened shared current time</a> given <var>crossOriginIsolatedCapability</var>, and
4236+
<a for=/>coarsened shared current time</a> given <var>crossOriginIsolatedCapability</var>,
4237+
<a for="fetch timing info">http method</a> is set to <var>request</var>'s
4238+
<a for=request>method</a>, and
42354239
<a for="fetch timing info">render-blocking</a> is set to <var>request</var>'s
42364240
<a for=request>render-blocking</a>.
42374241

0 commit comments

Comments
 (0)