Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -7359,10 +7359,7 @@ To <dfn>match collector for navigable</dfn> given |collector| and |navigable|:
</div>

<div algorithm>
To <dfn export>clone network request body</dfn> given [=/request=] |request|:

Note: This hook is intended to be triggered by the fetch spec when the request body has been safely extracted.
See step 9 of https://fetch.spec.whatwg.org/#concept-fetch
The <dfn export>WebDriver BiDi clone network request body</dfn> steps given [=/request=] |request| are:

1. If |request|'s [=request/body=] is null, return.

Expand All @@ -7386,9 +7383,7 @@ See step 9 of https://fetch.spec.whatwg.org/#concept-fetch
</div>

<div algorithm>
To <dfn export>clone network response body</dfn> given |request| and |response body|:

Note: This hook is intended to be triggered by the fetch spec when the response is set.
The <dfn export>WebDriver BiDi clone network response body</dfn> steps given |request| and |response body| are:

1. If |response body| is null, return.

Expand Down Expand Up @@ -7444,7 +7439,7 @@ To <dfn>maybe collect network request body</dfn> given |request|:
1. If |collected data| is null, return.

NOTE: This might happen if there are no collectors setup when the request is created,
and [=clone network request body=] does not clone the corresponding body.
and [=WebDriver BiDi clone network request body=] does not clone the corresponding body.
Or if the body was null in the first place.

1. [=Maybe collect network data=] with |request|, |collected data|, null and "request".
Expand All @@ -7463,7 +7458,7 @@ To <dfn>maybe collect network response body</dfn> given |request| and |response|
1. If |collected data| is null, return.

NOTE: This might happen if there are no collectors setup when the response is created,
and [=clone network response body=] does not clone the corresponding body.
and [=WebDriver BiDi clone network response body=] does not clone the corresponding body.
Or if the body was null in the first place.

1. Let |size| be |response|'s [=response body info=]'s [=encoded size=].
Expand Down Expand Up @@ -10498,8 +10493,6 @@ given [=/request=] |request| and [=/response=] |response|:

1. Let |response status| be "<code>incomplete</code>".

1. [=Clone network response body=] with |request| and |response|.

1. Let |sessions| be the [=set of sessions for which an event is enabled=]
given "<code>network.responseStarted</code>" and |related navigables|.

Expand Down