Re: [fetch] Add description for suspension, resuming and garbage collection. (#121)

> @@ -1314,8 +1314,20 @@ <h3 id=http-cors-protocol>CORS protocol</h3>
>  <p>To perform a <dfn title=concept-fetch>fetch</dfn> using <var title>request</var>, run
>  the steps below. An ongoing <span title=concept-fetch>fetch</span> can be
>  <dfn title=concept-fetch-terminate>terminated</dfn> with reason <var title>reason</var>,
> -which must be one of <i title>end-user abort</i>, <i title>fatal</i>, or
> -<i title>timeout</i>.
> +which must be one of <i title>end-user abort</i>, <i title>fatal</i>, <i title>timeout</i>, or
> +<i title>garbage collection</i>.
> +
> +<p>The user agent may be asked to <dfn title=concept-fetch-suspend>suspend</dfn> the ongoing fetch.
> +The user agent may either accept or ignore the suspension request. The susppended fetch can be
> +<dfn title=concept-fetch-resume>resumed</dfn>. The user agent should ignore the suspension request
> +if the ongoing fetch is updating the response in the HTTP cache for the request.
> +
> +<p class="note no-backref">The user agant must not update the entry in the HTTP cache for a request
> +if request's cache mode is "no-store".
> +
> +<p class="note no-backref">The user agent must not update the entry in the HTTP cache for a request

Same.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/121/files#r39014226

Received on Wednesday, 9 September 2015 07:37:37 UTC