- From: Jungkee Song <notifications@github.com>
- Date: Wed, 11 Oct 2017 01:52:44 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 11 October 2017 08:53:07 UTC
jungkees commented on this pull request. > - 1. Add |responseBodyPromise| to |responseBodyPromiseArray|. - 1. Let |q| be <a>waiting for all</a> of |responseBodyPromiseArray|. - 1. Return the result of <a>transforming</a> |q| with a fulfillment handler that returns undefined. + 1. [=list/For each=] |fieldValue| of |fieldValues|: + 1. If |fieldValue| matches "`*`", then: + 1. Set |matchAsterisk| to true. + 1. [=Break=]. + 1. If |matchAsterisk| is true, reject |responsePromise| with a `TypeError`. + + * To [=process response end-of-body=] for |response|, run these substeps: + 1. If |response|'s [=response/aborted flag=] is set, reject |responsePromise| with a `TypeError` and abort these steps. + 1. Resolve |responsePromise| with |response|. + + Note: The cache commit is allowed when the response's body is fully received. + + * To [=process response done=] for |response|, do nothing. Removed. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1190#discussion_r143948174
Received on Wednesday, 11 October 2017 08:53:07 UTC