Skip to content

Commit

Permalink
Add response status to response body info
Browse files Browse the repository at this point in the history
  • Loading branch information
abinpaul1 committed Jul 9, 2022
1 parent 90ddae7 commit a8a2650
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ following <a for=struct>items</a>: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
<dt><dfn export for="response body info" id="fetch-timing-info-decoded-body-size">decoded
size</dfn> (default 0)
<dd>A number.
<dt><dfn export for="response body info" id="fetch-timing-info-response-status">response
status</dfn> (default 0)
<dd>A <a for=/>status</a>.
</dl>

<p>To
Expand Down Expand Up @@ -4379,6 +4382,9 @@ steps:

<li><p>Let <var>bodyInfo</var> be <var>response</var>'s <a for=response>body info</a>.

<li><p>Let <var>bodyInfo</var>'s <a for="response body info">response status</a> be
<var>response</var>'s <a for=response>status</a>.

<li>
<p>If <var>response</var>'s <a for=response>timing allow passed flag</a> is not set,
then set <var>timingInfo</var> to a the result of <a>creating an opaque timing info</a> for
Expand Down

0 comments on commit a8a2650

Please sign in to comment.