- From: Jungkee Song <notifications@github.com>
- Date: Thu, 28 Sep 2017 04:58:21 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 28 September 2017 11:59:10 UTC
jungkees commented on this pull request. > 1. And then, if an exception was <a lt="throw">thrown</a>, then: - 1. Set the <a>context object</a>'s <a>request to response map</a> to |itemsCopy|. + 1. Set |cache| to |itemsCopy|. > Isn't this just setting a local variable? I think |cache| becomes a reference to the request response list. It's confusing though. > isn't there a bit of a race condition here? I wanted making the cache write atomic (the step 3.3) would do some magic, but it's absolutely a part that I should audit and improve. -- 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_r141597080
Received on Thursday, 28 September 2017 11:59:10 UTC