- From: Jungkee Song <notifications@github.com>
- Date: Wed, 11 Oct 2017 08:54:48 +0000 (UTC)
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/ServiceWorker/pull/1190/review/68532892@github.com>
jungkees commented on this pull request. > 1. Else: - 1. Let |p| be a <a>promise</a> resolved with undefined. - 1. [=map/For each=] <var ignore>cacheName</var> → |cache| of <a>name to cache map</a>: - 1. Set |p| to the result of <a>transforming</a> itself with a fulfillment handler that, when called with argument |v|, performs the following substeps <a>in parallel</a>: - 1. If |v| is not undefined, return |v|. - 1. Return the result of running the algorithm specified in {{Cache/match(request, options)}} method of {{Cache}} interface with |request| and |options| as the arguments (providing |cache|] as thisArgument to the <a>\[[Call]]</a> internal method of {{Cache/match(request, options)}}.) - 1. Return |p|. + 1. Let |promise| be [=a promise resolved with=] undefined. + 1. [=map/For each=] <var ignore>cacheName</var> → |cache| of the [=name to cache map=]: + 1. Set |promise| to the result of [=transforming=] itself with a fulfillment handler that, when called with argument |response|, performs the following substeps [=in parallel=]: + 1. If |response| is not undefined, return |response|. + 1. Return the result of running the algorithm specified in {{Cache/match(request, options)}} method of {{Cache}} interface with |request| and |options| as the arguments (providing |cache| as thisArgument to the `\[[Call]]` internal method of {{Cache/match(request, options)}}.) Addressed. -- 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_r143948616
Received on Wednesday, 11 October 2017 08:55:11 UTC