Skip to content

Commit

Permalink
fix: Add http method to fetch timing info
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sohomdatta1 committed Apr 17, 2023
1 parent 8f10983 commit e05cf82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
<dd>A <a for=/>list</a> of strings.
<dt><dfn export for="fetch timing info">render-blocking</dfn> (default false)
<dd>A boolean.
<dt><dfn export for="fetch timing info">http method</dfn> (default: GET)
<dd> A {{ByteString}}
</dl>

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

Expand Down

0 comments on commit e05cf82

Please sign in to comment.