- From: Matt Falkenhagen <notifications@github.com>
- Date: Sun, 09 Jun 2019 19:02:33 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 10 June 2019 02:02:55 UTC
For history, discussions about this step were at: #800 #1155 In my opinion, it's easy to avoid calling update() in an installing worker. It's harder to avoid calling update() when there is any installing worker, so throwing can be surprising and you'll end up with code like: ```if (!registration.installing) { registration.update(); }``` which seems cumbersome. I'm feeling now update() when there is an installing worker should just be coalesced into that ongoing job and dropped silently without triggering a new update. -- 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/issues/1429#issuecomment-500267846
Received on Monday, 10 June 2019 02:02:55 UTC